Skip to content

#ebed8f

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

RGB
235, 237, 143
HSL
61°, 72%, 75%
CMYK
1, 0, 40, 7
Luminance
0.8021

At a glance

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

Hex
#ebed8f
Hue
61°
yellow
Saturation
72%
vivid
Lightness
75%
light
Brightness
93%
HSV value
Perceived
89%
weighted brightness
Luminance
0.8021
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.04:1
Closest name
Khaki
ΔE2000 3.3
Where it sits
Hue61° of 360°
Saturation72%
Lightness75%
Temperature
Warm ← → Cool26% 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#ebed8f
RGBrgb(235, 237, 143)
HSLhsl(61, 72%, 75%)
CMYKcmyk(1%, 0%, 40%, 7%)
LABlab(91.8 -14.1 45.3)
LCHlch(91.8 47.4 107.3)
OKLCHoklch(0.924 0.117 109.5)
Decimal15461775
Display P3color(display-p3 0.922 0.929 0.561)

Copy-ready code

/* CSS */
color: #ebed8f;
background-color: #ebed8f;
/* Tailwind (arbitrary) */
class="text-[#ebed8f] bg-[#ebed8f]"
/* SCSS */
$brand: #ebed8f;
/* SwiftUI */
Color(red: 0.922, green: 0.929, blue: 0.561)
/* Android */
Color.parseColor("#ebed8f")
/* Flutter */
Color(0xFFEBED8F)
/* Python / OpenCV (BGR) */
(143, 237, 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 #ebed8f · 17.04:1
Use #000000AAA at every size.
Aa
White text · 1.23:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.04:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ebed8f as text scores 1.23:1 on white and 17.04:1 on black.

Accessibility — WCAG contrast

Aa
#ebed8f on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ebed8f on black: 17.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBE688
deuteranopia · #FCE993
tritanopia · #F7E2D6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ebed8f 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
#F2F3C9
#ebed8f
#E5E86E
#DCE03E
#CFD322
#ADB01C
#8A8D17
#646614
#3F400D
Base = 300Lightest = 50 · #FBFCF3Darkest = 950 · #3F400D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F8E7;
  --brand-200: #F2F3C9;
  --brand-300: #ebed8f;
  --brand-400: #E5E86E;
  --brand-500: #DCE03E;
  --brand-600: #CFD322;
  --brand-700: #ADB01C;
  --brand-800: #8A8D17;
  --brand-900: #646614;
  --brand-950: #3F400D;
  --brand: #ebed8f;
  --brand-ink: #000000;
}

Colors that work with #ebed8f

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#ECEDC0
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#183CB4
Second voice, not a rival
Dark variant#6C6E12
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 #ebed8f

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#918FED
Analogous left#EDC08F
Analogous right#BCED8F
Split-complement 1#8FBCED
Split-complement 2#C08FED
Triadic 1#8FEBED
Triadic 2#ED8FEB
Tetradic#8FEDC0

RGB percentages

Red92.2%
Green92.9%
Blue56.1%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow39.7%
Key (black)7.1%

Color previews

#ebed8f text on a black background

contrast 17.04:1

Card sample

#ebed8f text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebed8f

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.

#ebed8f 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.

#ebed8f, answered

What color is #ebed8f?

#ebed8f is a light vivid yellow, closest to Khaki (ΔE2000 3.3). It sits at 61° on the hue wheel with 72% saturation and 75% lightness, which reads as warm.

What is the RGB value of #ebed8f?

rgb(235, 237, 143) — 235 red, 237 green and 143 blue out of 255, or 92.2% / 92.9% / 56.1% by channel.

Is #ebed8f a light or a dark color?

It is a light color. Relative luminance is 0.8021 and perceived brightness is 89%, so black text on it reaches 17.04:1.

Should I use black or white text on #ebed8f?

Black. It scores 17.04:1 against #ebed8f, versus 1.23:1 for white — AAA at any size.

What is the complementary color of #ebed8f?

#918FED sits directly opposite on the wheel. Softer options are the split-complements #8FBCED and #C08FED, which give the same contrast with far less vibration.

What colors go well with #ebed8f?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #183CB4 as an accent and #6C6E12 for hover and pressed states. For a palette, the analogous pair #EDC08F and #BCED8F stays calm, while #918FED is the loudest partner.

What is #ebed8f in CMYK for printing?

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

Is #ebed8f warm or cool?

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

Work with #ebed8f in the Color Lab