#E2D211#E2D211

#E2D211 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.0% C 0.177 H 103.9°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#E2D211
RGBrgb(226, 210, 17)
HSLhsl(55, 86%, 48%)
HSVhsv(55, 92%, 89%)
CMYKcmyk(0%, 7.1%, 92.5%, 11.4%)
CIE-LABlab(83.08, -11.62, 81.54)
CIE-LCHlch(83.08, 82.37, 98.11°)
OKLaboklab(85.01% -0.0425 0.172)
OKLCHoklch(85.01% 0.177 103.9)
XYZxyz(54.5145, 62.3049, 9.6848)
Luminance0.6230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D211 #1121E2
analogous
#E26A11 #E2D211 #89E211
triadic
#E2D211 #11E2D2 #D211E2
tetradic
#E2D211 #11E26A #1121E2 #E21189
square
#E2D211 #11E26A #1121E2 #E21189
split-complementary
#E2D211 #1189E2 #6A11E2
monochromatic
#706808 #A99D0D #E2D211 #F1E340 #F5EB79

Accessibility & contrast

On white

1.56
#E2D211 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#E2D211 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D211
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D211#FFFFFF#000000##000000
##E2D2111.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#EBD22B
Tritanopia (blue-blind)
#F4C2B3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d211;
/* rgb */ color: rgb(226, 210, 17);
/* oklch */ color: oklch(85.0% 0.177 103.9);
Tailwind
colors: {
  custom: {
    50: '#f0df6d',
    500: '#e2d211',
    950: '#000000',
  },
}
SCSS
$custom: #e2d211;
$custom-light: #f0df6d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d211",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 17
  },
  "hsl": {
    "h": 55.407,
    "s": 86.008,
    "l": 47.647
  },
  "oklch": {
    "l": 0.85014,
    "c": 0.17714,
    "h": 103.9
  },
  "luminance": 0.62302
}

Semantic roles & 50–950 ramp

primary
#E2D211
secondary
#1E2579
accent
#3CFC2C
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#181508
muted
#86847D

Preview Lab

Preview with #E2D211

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

Preview Lab → · Contrast checker → · Palette generator →

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