#E2D04F#E2D04F

#E2D04F is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.9% C 0.147 H 101.3°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#E2D04F
RGBrgb(226, 208, 79)
HSLhsl(53, 72%, 60%)
HSVhsv(53, 65%, 89%)
CMYKcmyk(0%, 8%, 65%, 11.4%)
CIE-LABlab(82.83, -8.50, 63.95)
CIE-LCHlch(82.83, 64.51, 97.57°)
OKLaboklab(84.91% -0.0289 0.1445)
OKLCHoklch(84.91% 0.147 101.3)
XYZxyz(55.3335, 61.8473, 16.4187)
Luminance0.6185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D04F #4F61E2
analogous
#E2874F #E2D04F #ABE24F
triadic
#E2D04F #4FE2D0 #D04FE2
tetradic
#E2D04F #4FE287 #4F61E2 #E24FAB
square
#E2D04F #4FE287 #4F61E2 #E24FAB
split-complementary
#E2D04F #4FABE2 #874FE2
monochromatic
#9D8D1A #D1BC22 #E2D04F #EBDE84 #F3ECB8

Accessibility & contrast

On white

1.57
#E2D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#E2D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D04F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D04F#FFFFFF#000000##000000
##E2D04F1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3F
Deuteranopia (green-blind)
#E8D156
Tritanopia (blue-blind)
#F3C2B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2d04f;
/* rgb */ color: rgb(226, 208, 79);
/* oklch */ color: oklch(84.9% 0.147 101.3);
Tailwind
colors: {
  custom: {
    50: '#eede86',
    500: '#e2d04f',
    950: '#000000',
  },
}
SCSS
$custom: #e2d04f;
$custom-light: #eede86;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d04f",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 52.653,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8491,
    "c": 0.1474,
    "h": 101.3
  },
  "luminance": 0.61845
}

Semantic roles & 50–950 ramp

primary
#E2D04F
secondary
#3542A0
accent
#50EE39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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