#E2D03F#E2D03F

#E2D03F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.8% C 0.158 H 102.0°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#E2D03F
RGBrgb(226, 208, 63)
HSLhsl(53, 74%, 57%)
HSVhsv(53, 72%, 89%)
CMYKcmyk(0%, 8%, 72.1%, 11.4%)
CIE-LABlab(82.72, -9.33, 69.96)
CIE-LCHlch(82.72, 70.58, 97.59°)
OKLaboklab(84.79% -0.0329 0.1546)
OKLCHoklch(84.79% 0.158 102)
XYZxyz(54.8196, 61.6418, 13.7121)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D03F #3F51E2
analogous
#E27F3F #E2D03F #A3E23F
triadic
#E2D03F #3FE2D0 #D03FE2
tetradic
#E2D03F #3FE27F #3F51E2 #E23FA3
square
#E2D03F #3FE27F #3F51E2 #E23FA3
split-complementary
#E2D03F #3FA3E2 #7F3FE2
monochromatic
#918316 #C6B31E #E2D03F #EADD74 #F2EAA9

Accessibility & contrast

On white

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

On black

13.33
#E2D03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D03F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D03F#FFFFFF#000000##000000
##E2D03F1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA26
Deuteranopia (green-blind)
#E8D149
Tritanopia (blue-blind)
#F3C1B4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2d03f;
/* rgb */ color: rgb(226, 208, 63);
/* oklch */ color: oklch(84.8% 0.158 102.0);
Tailwind
colors: {
  custom: {
    50: '#efde7e',
    500: '#e2d03f',
    950: '#000000',
  },
}
SCSS
$custom: #e2d03f;
$custom-light: #efde7e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d03f",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 63
  },
  "hsl": {
    "h": 53.374,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84788,
    "c": 0.15803,
    "h": 102
  },
  "luminance": 0.61639
}

Semantic roles & 50–950 ramp

primary
#E2D03F
secondary
#303B96
accent
#4CF037
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D03F

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

Preview Lab → · Contrast checker → · Palette generator →

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