#E2D451#E2D451

#E2D451 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.149 H 103.2°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#E2D451
RGBrgb(226, 212, 81)
HSLhsl(54, 71%, 60%)
HSVhsv(54, 64%, 89%)
CMYKcmyk(0%, 6.2%, 64.2%, 11.4%)
CIE-LABlab(83.89, -10.41, 64.24)
CIE-LCHlch(83.89, 65.08, 99.20°)
OKLaboklab(85.75% -0.0341 0.1455)
OKLCHoklch(85.75% 0.149 103.2)
XYZxyz(56.3949, 63.8520, 17.1371)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D451 #515FE2
analogous
#E28B51 #E2D451 #A7E251
triadic
#E2D451 #51E2D4 #D451E2
tetradic
#E2D451 #51E28B #515FE2 #E251A7
square
#E2D451 #51E28B #515FE2 #E251A7
split-complementary
#E2D451 #51A7E2 #8B51E2
monochromatic
#9E911A #D3C223 #E2D451 #EBE185 #F3EEBA

Accessibility & contrast

On white

1.53
#E2D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#E2D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D451
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D451#FFFFFF#000000##000000
##E2D4511.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#EBD459
Tritanopia (blue-blind)
#F2C6B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d451;
/* rgb */ color: rgb(226, 212, 81);
/* oklch */ color: oklch(85.8% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#eee088',
    500: '#e2d451',
    950: '#000000',
  },
}
SCSS
$custom: #e2d451;
$custom-light: #eee088;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d451",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 54.207,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85754,
    "c": 0.1494,
    "h": 103.2
  },
  "luminance": 0.6385
}

Semantic roles & 50–950 ramp

primary
#E2D451
secondary
#3640A1
accent
#25D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D451

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

Preview Lab → · Contrast checker → · Palette generator →

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