#E2D30D#E2D30D

#E2D30D is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.2% C 0.179 H 104.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#E2D30D
RGBrgb(226, 211, 13)
HSLhsl(56, 89%, 47%)
HSVhsv(56, 94%, 89%)
CMYKcmyk(0%, 6.6%, 94.2%, 11.4%)
CIE-LABlab(83.33, -12.17, 82.19)
CIE-LCHlch(83.33, 83.09, 98.42°)
OKLaboklab(85.22% -0.0441 0.173)
OKLCHoklch(85.22% 0.179 104.3)
XYZxyz(54.7336, 62.7888, 9.6171)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D30D #0D1CE2
analogous
#E2690D #E2D30D #86E20D
triadic
#E2D30D #0DE2D3 #D30DE2
tetradic
#E2D30D #0DE269 #0D1CE2 #E20D86
square
#E2D30D #0DE269 #0D1CE2 #E20D86
split-complementary
#E2D30D #0D86E2 #690DE2
monochromatic
#6E6706 #A89D0A #E2D30D #F4E639 #F7EE72

Accessibility & contrast

On white

1.55
#E2D30D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#E2D30D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D30D
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D30D#FFFFFF#000000##000000
##E2D30D1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CB00
Deuteranopia (green-blind)
#ECD32A
Tritanopia (blue-blind)
#F4C3B4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d30d;
/* rgb */ color: rgb(226, 211, 13);
/* oklch */ color: oklch(85.2% 0.179 104.3);
Tailwind
colors: {
  custom: {
    50: '#f0e06c',
    500: '#e2d30d',
    950: '#000000',
  },
}
SCSS
$custom: #e2d30d;
$custom-light: #f0e06c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d30d",
  "rgb": {
    "r": 226,
    "g": 211,
    "b": 13
  },
  "hsl": {
    "h": 55.775,
    "s": 89.121,
    "l": 46.863
  },
  "oklch": {
    "l": 0.85216,
    "c": 0.17857,
    "h": 104.3
  },
  "luminance": 0.62786
}

Semantic roles & 50–950 ramp

primary
#E2D30D
secondary
#1C2278
accent
#38FF29
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#181508
muted
#86847D

Preview Lab

Preview with #E2D30D

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

Preview Lab → · Contrast checker → · Palette generator →

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