#E9CF4F#E9CF4F

#E9CF4F is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.147 H 97.7°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#E9CF4F
RGBrgb(233, 207, 79)
HSLhsl(50, 78%, 61%)
HSVhsv(50, 66%, 91%)
CMYKcmyk(0%, 11.2%, 66.1%, 8.6%)
CIE-LABlab(83.19, -5.07, 64.51)
CIE-LCHlch(83.19, 64.71, 94.49°)
OKLaboklab(85.34% -0.0196 0.1455)
OKLCHoklch(85.34% 0.147 97.7)
XYZxyz(57.3310, 62.5166, 16.4427)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CF4F #4F69E9
analogous
#E9824F #E9CF4F #B6E94F
triadic
#E9CF4F #4FE9CF #CF4FE9
tetradic
#E9CF4F #4FE982 #4F69E9 #E94FB6
square
#E9CF4F #4FE982 #4F69E9 #E94FB6
split-complementary
#E9CF4F #4FB6E9 #824FE9
monochromatic
#A99015 #DFBE1C #E9CF4F #F0DE85 #F7EDBC

Accessibility & contrast

On white

1.56
#E9CF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#E9CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CF4F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CF4F#FFFFFF#000000##000000
##E9CF4F1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3F
Deuteranopia (green-blind)
#E9D356
Tritanopia (blue-blind)
#FBC0B4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e9cf4f;
/* rgb */ color: rgb(233, 207, 79);
/* oklch */ color: oklch(85.3% 0.147 97.7);
Tailwind
colors: {
  custom: {
    50: '#f4dd86',
    500: '#e9cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #e9cf4f;
$custom-light: #f4dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cf4f",
  "rgb": {
    "r": 233,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 49.87,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85337,
    "c": 0.14682,
    "h": 97.7
  },
  "luminance": 0.62514
}

Semantic roles & 50–950 ramp

primary
#E9CF4F
secondary
#3246AA
accent
#2EDA0B
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9CF4F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E9CF4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva