#E9CD4F#E9CD4F

#E9CD4F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.9% C 0.145 H 96.6°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E9CD4F
RGBrgb(233, 205, 79)
HSLhsl(49, 78%, 61%)
HSVhsv(49, 66%, 91%)
CMYKcmyk(0%, 12%, 66.1%, 8.6%)
CIE-LABlab(82.68, -4.05, 63.97)
CIE-LCHlch(82.68, 64.10, 93.62°)
OKLaboklab(84.93% -0.0166 0.1444)
OKLCHoklch(84.93% 0.145 96.6)
XYZxyz(56.8495, 61.5536, 16.2822)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CD4F #4F6BE9
analogous
#E9804F #E9CD4F #B8E94F
triadic
#E9CD4F #4FE9CD #CD4FE9
tetradic
#E9CD4F #4FE980 #4F6BE9 #E94FB8
square
#E9CD4F #4FE980 #4F6BE9 #E94FB8
split-complementary
#E9CD4F #4FB8E9 #804FE9
monochromatic
#A98E15 #DFBB1C #E9CD4F #F0DC85 #F7ECBC

Accessibility & contrast

On white

1.58
#E9CD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#E9CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CD4F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CD4F#FFFFFF#000000##000000
##E9CD4F1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93F
Deuteranopia (green-blind)
#E8D256
Tritanopia (blue-blind)
#FBBEB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e9cd4f;
/* rgb */ color: rgb(233, 205, 79);
/* oklch */ color: oklch(84.9% 0.145 96.6);
Tailwind
colors: {
  custom: {
    50: '#f4db86',
    500: '#e9cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #e9cd4f;
$custom-light: #f4db86;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cd4f",
  "rgb": {
    "r": 233,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 49.091,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84931,
    "c": 0.14534,
    "h": 96.6
  },
  "luminance": 0.61551
}

Semantic roles & 50–950 ramp

primary
#E9CD4F
secondary
#3248AA
accent
#31DA0B
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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