Skip to content

#edeb8f

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

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

At a glance

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

Hex
#edeb8f
Hue
59°
yellow
Saturation
72%
vivid
Lightness
75%
light
Brightness
93%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7940
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.88:1
Closest name
Khaki
ΔE2000 2.3
Where it sits
Hue59° of 360°
Saturation72%
Lightness75%
Temperature
Warm ← → Cool24% 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#edeb8f
RGBrgb(237, 235, 143)
HSLhsl(59, 72%, 75%)
CMYKcmyk(0%, 1%, 40%, 7%)
LABlab(91.4 -12.3 44.8)
LCHlch(91.4 46.5 105.4)
OKLCHoklch(0.922 0.114 107.4)
Decimal15592335
Display P3color(display-p3 0.929 0.922 0.561)

Copy-ready code

/* CSS */
color: #edeb8f;
background-color: #edeb8f;
/* Tailwind (arbitrary) */
class="text-[#edeb8f] bg-[#edeb8f]"
/* SCSS */
$brand: #edeb8f;
/* SwiftUI */
Color(red: 0.929, green: 0.922, blue: 0.561)
/* Android */
Color.parseColor("#edeb8f")
/* Flutter */
Color(0xFFEDEB8F)
/* Python / OpenCV (BGR) */
(143, 235, 237)

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 #edeb8f · 16.88:1
Use #000000AAA at every size.
Aa
White text · 1.24:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.88:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #edeb8f as text scores 1.24:1 on white and 16.88:1 on black.

Accessibility — WCAG contrast

Aa
#edeb8f on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#edeb8f on black: 16.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9E488
deuteranopia · #FBE893
tritanopia · #F9E0D4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #edeb8f 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.

#FCFBF3
#F8F8E7
#F3F2C9
#edeb8f
#E8E56E
#E0DC3E
#D3CF22
#B0AD1C
#8D8A17
#666414
#403F0D
Base = 300Lightest = 50 · #FCFBF3Darkest = 950 · #403F0D
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F8E7;
  --brand-200: #F3F2C9;
  --brand-300: #edeb8f;
  --brand-400: #E8E56E;
  --brand-500: #E0DC3E;
  --brand-600: #D3CF22;
  --brand-700: #B0AD1C;
  --brand-800: #8D8A17;
  --brand-900: #666414;
  --brand-950: #403F0D;
  --brand: #edeb8f;
  --brand-ink: #000000;
}

Colors that work with #edeb8f

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#EDECC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#1842B4
Second voice, not a rival
Dark variant#6E6C12
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 #edeb8f

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#8F91ED
Analogous left#EDBC8F
Analogous right#C0ED8F
Split-complement 1#8FC0ED
Split-complement 2#BC8FED
Triadic 1#8FEDEB
Triadic 2#EB8FED
Tetradic#8FEDBC

RGB percentages

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

CMYK percentages

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

Color previews

#edeb8f text on a black background

contrast 16.88:1

Card sample

#edeb8f text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edeb8f

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.

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

#edeb8f, answered

What color is #edeb8f?

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

What is the RGB value of #edeb8f?

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

Is #edeb8f a light or a dark color?

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

Should I use black or white text on #edeb8f?

Black. It scores 16.88:1 against #edeb8f, versus 1.24:1 for white — AAA at any size.

What is the complementary color of #edeb8f?

#8F91ED sits directly opposite on the wheel. Softer options are the split-complements #8FC0ED and #BC8FED, which give the same contrast with far less vibration.

What colors go well with #edeb8f?

For interface work: #FAFAF4 as the surface, #EDECC0 for borders, #9B994B for secondary text, #1842B4 as an accent and #6E6C12 for hover and pressed states. For a palette, the analogous pair #EDBC8F and #C0ED8F stays calm, while #8F91ED is the loudest partner.

What is #edeb8f in CMYK for printing?

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

Is #edeb8f warm or cool?

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

Work with #edeb8f in the Color Lab