#E2D151#E2D151

#E2D151 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.1% C 0.147 H 101.7°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#E2D151
RGBrgb(226, 209, 81)
HSLhsl(53, 71%, 60%)
HSVhsv(53, 64%, 89%)
CMYKcmyk(0%, 7.5%, 64.2%, 11.4%)
CIE-LABlab(83.11, -8.89, 63.42)
CIE-LCHlch(83.11, 64.04, 97.98°)
OKLaboklab(85.13% -0.0298 0.1437)
OKLCHoklch(85.13% 0.147 101.7)
XYZxyz(55.6519, 62.3661, 16.8894)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D151 #5162E2
analogous
#E28951 #E2D151 #AAE251
triadic
#E2D151 #51E2D1 #D151E2
tetradic
#E2D151 #51E289 #5162E2 #E251AA
square
#E2D151 #51E289 #5162E2 #E251AA
split-complementary
#E2D151 #51AAE2 #8951E2
monochromatic
#9E8F1A #D3BE23 #E2D151 #EBDF85 #F3EDBA

Accessibility & contrast

On white

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

On black

13.47
#E2D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D151
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D151#FFFFFF#000000##000000
##E2D1511.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#F2C3B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d151;
/* rgb */ color: rgb(226, 209, 81);
/* oklch */ color: oklch(85.1% 0.147 101.7);
Tailwind
colors: {
  custom: {
    50: '#eede88',
    500: '#e2d151',
    950: '#000000',
  },
}
SCSS
$custom: #e2d151;
$custom-light: #eede88;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d151",
  "rgb": {
    "r": 226,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 52.966,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85133,
    "c": 0.14677,
    "h": 101.7
  },
  "luminance": 0.62364
}

Semantic roles & 50–950 ramp

primary
#E2D151
secondary
#3642A1
accent
#29D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D151

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

Preview Lab → · Contrast checker → · Palette generator →

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