#E2D04D#E2D04D

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

Color values

HEX#E2D04D
RGBrgb(226, 208, 77)
HSLhsl(53, 72%, 59%)
HSVhsv(53, 66%, 89%)
CMYKcmyk(0%, 8%, 65.9%, 11.4%)
CIE-LABlab(82.82, -8.62, 64.74)
CIE-LCHlch(82.82, 65.31, 97.58°)
OKLaboklab(84.89% -0.0295 0.1459)
OKLCHoklch(84.89% 0.149 101.4)
XYZxyz(55.2618, 61.8187, 16.0411)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D04D #4D5FE2
analogous
#E2864D #E2D04D #A9E24D
triadic
#E2D04D #4DE2D0 #D04DE2
tetradic
#E2D04D #4DE286 #4D5FE2 #E24DA9
square
#E2D04D #4DE286 #4D5FE2 #E24DA9
split-complementary
#E2D04D #4DA9E2 #864DE2
monochromatic
#9B8C19 #D0BB22 #E2D04D #EBDE82 #F3ECB6

Accessibility & contrast

On white

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

On black

13.36
#E2D04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D04D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D04D#FFFFFF#000000##000000
##E2D04D1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d04d;
/* rgb */ color: rgb(226, 208, 77);
/* oklch */ color: oklch(84.9% 0.149 101.4);
Tailwind
colors: {
  custom: {
    50: '#efde85',
    500: '#e2d04d',
    950: '#000000',
  },
}
SCSS
$custom: #e2d04d;
$custom-light: #efde85;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d04d",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 52.752,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84893,
    "c": 0.14886,
    "h": 101.4
  },
  "luminance": 0.61816
}

Semantic roles & 50–950 ramp

primary
#E2D04D
secondary
#34419F
accent
#4FEF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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