#E9CC4F#E9CC4F

#E9CC4F is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.7% C 0.145 H 96.0°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E9CC4F
RGBrgb(233, 204, 79)
HSLhsl(49, 78%, 61%)
HSVhsv(49, 66%, 91%)
CMYKcmyk(0%, 12.4%, 66.1%, 8.6%)
CIE-LABlab(82.42, -3.54, 63.71)
CIE-LCHlch(82.42, 63.80, 93.18°)
OKLaboklab(84.73% -0.0152 0.1438)
OKLCHoklch(84.73% 0.145 96)
XYZxyz(56.6111, 61.0767, 16.2027)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CC4F #4F6CE9
analogous
#E97F4F #E9CC4F #B9E94F
triadic
#E9CC4F #4FE9CC #CC4FE9
tetradic
#E9CC4F #4FE97F #4F6CE9 #E94FB9
square
#E9CC4F #4FE97F #4F6CE9 #E94FB9
split-complementary
#E9CC4F #4FB9E9 #7F4FE9
monochromatic
#A98D15 #DFBA1C #E9CC4F #F0DC85 #F7ECBC

Accessibility & contrast

On white

1.59
#E9CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#E9CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CC4F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CC4F#FFFFFF#000000##000000
##E9CC4F1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83F
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#FBBDB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e9cc4f;
/* rgb */ color: rgb(233, 204, 79);
/* oklch */ color: oklch(84.7% 0.145 96.0);
Tailwind
colors: {
  custom: {
    50: '#f4db86',
    500: '#e9cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #e9cc4f;
$custom-light: #f4db86;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cc4f",
  "rgb": {
    "r": 233,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 48.701,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84729,
    "c": 0.14462,
    "h": 96
  },
  "luminance": 0.61074
}

Semantic roles & 50–950 ramp

primary
#E9CC4F
secondary
#3249AA
accent
#32DA0B
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #E9CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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