Skip to content

#ebee9c

a light, vivid yellow · warm · closest name: Khaki

RGB
235, 238, 156
HSL
62°, 71%, 77%
CMYK
1, 0, 35, 7
Luminance
0.8121

At a glance

Every number on this page in one read: what #ebee9c is made of, how bright it looks, and which way it leans.

Hex
#ebee9c
Hue
62°
yellow
Saturation
71%
vivid
Lightness
77%
light
Brightness
93%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8121
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.24:1
Closest name
Khaki
ΔE2000 4
Where it sits
Hue62° of 360°
Saturation71%
Lightness77%
Temperature
Warm ← → Cool27% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ebee9c
RGBrgb(235, 238, 156)
HSLhsl(62, 71%, 77%)
CMYKcmyk(1%, 0%, 35%, 7%)
LABlab(92.2 -13.2 39.4)
LCHlch(92.2 41.6 108.5)
OKLCHoklch(0.928 0.103 110.0)
Decimal15462044
Display P3color(display-p3 0.922 0.933 0.612)

Copy-ready code

/* CSS */
color: #ebee9c;
background-color: #ebee9c;
/* Tailwind (arbitrary) */
class="text-[#ebee9c] bg-[#ebee9c]"
/* SCSS */
$brand: #ebee9c;
/* SwiftUI */
Color(red: 0.922, green: 0.933, blue: 0.612)
/* Android */
Color.parseColor("#ebee9c")
/* Flutter */
Color(0xFFEBEE9C)
/* Python / OpenCV (BGR) */
(156, 238, 235)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ebee9c · 17.24:1
Use #000000AAA at every size.
Aa
White text · 1.22:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.24:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ebee9c as text scores 1.22:1 on white and 17.24:1 on black.

Accessibility — WCAG contrast

Aa
#ebee9c on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#ebee9c on black: 17.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FAE796
deuteranopia · #FBEA9F
tritanopia · #F6E5D9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ebee9c is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFCF3
#F8F8E7
#F1F2C9
#ebee9c
#E2E66F
#D8DE3F
#CBD124
#A9AE1E
#878B18
#626515
#3D3F0D
Base = 300Lightest = 50 · #FBFCF3Darkest = 950 · #3D3F0D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F8E7;
  --brand-200: #F1F2C9;
  --brand-300: #ebee9c;
  --brand-400: #E2E66F;
  --brand-500: #D8DE3F;
  --brand-600: #CBD124;
  --brand-700: #A9AE1E;
  --brand-800: #878B18;
  --brand-900: #626515;
  --brand-950: #3D3F0D;
  --brand: #ebee9c;
  --brand-ink: #000000;
}

Colors that work with #ebee9c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#EBEDC0
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#1A3AB2
Second voice, not a rival
Dark variant#6A6D13
Hover, pressed, headers
Light variant#FBFBE9
Selected rows, tints
Dark surface#242414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ebee9c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#9F9CEE
Analogous left#EEC89C
Analogous right#C2EE9C
Split-complement 1#9CC2EE
Split-complement 2#C89CEE
Triadic 1#9CEBEE
Triadic 2#EE9CEB
Tetradic#9CEEC8

RGB percentages

Red92.2%
Green93.3%
Blue61.2%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow34.5%
Key (black)6.7%

Color previews

#ebee9c text on a black background

contrast 17.24:1

Card sample

#ebee9c text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ebee9c;
Background color
Panel with #ebee9c background
background-color: #ebee9c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ebee9c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(235, 238, 156, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 238, 156, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebee9c;
background: linear-gradient(135deg, #ebee9c, #B4EE9C);

Monochromatic scale

Palettes built from #ebee9c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ebee9c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ebee9c, answered

What color is #ebee9c?

#ebee9c is a light vivid yellow, closest to Khaki (ΔE2000 4). It sits at 62° on the hue wheel with 71% saturation and 77% lightness, which reads as warm.

What is the RGB value of #ebee9c?

rgb(235, 238, 156) — 235 red, 238 green and 156 blue out of 255, or 92.2% / 93.3% / 61.2% by channel.

Is #ebee9c a light or a dark color?

It is a light color. Relative luminance is 0.8121 and perceived brightness is 90%, so black text on it reaches 17.24:1.

Should I use black or white text on #ebee9c?

Black. It scores 17.24:1 against #ebee9c, versus 1.22:1 for white — AAA at any size.

What is the complementary color of #ebee9c?

#9F9CEE sits directly opposite on the wheel. Softer options are the split-complements #9CC2EE and #C89CEE, which give the same contrast with far less vibration.

What colors go well with #ebee9c?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #1A3AB2 as an accent and #6A6D13 for hover and pressed states. For a palette, the analogous pair #EEC89C and #C2EE9C stays calm, while #9F9CEE is the loudest partner.

What is #ebee9c in CMYK for printing?

cmyk(1%, 0%, 35%, 7%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ebee9c warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EED39C; nudged cooler, #CDEF9B.

Work with #ebee9c in the Color Lab