#E4D251#E4D251

#E4D251 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.5% C 0.148 H 101.3°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#E4D251
RGBrgb(228, 210, 81)
HSLhsl(53, 73%, 61%)
HSVhsv(53, 64%, 89%)
CMYKcmyk(0%, 7.9%, 64.5%, 10.6%)
CIE-LABlab(83.54, -8.56, 63.92)
CIE-LCHlch(83.54, 64.49, 97.63°)
OKLaboklab(85.52% -0.029 0.1447)
OKLCHoklch(85.52% 0.148 101.3)
XYZxyz(56.5290, 63.1836, 17.0010)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D251 #5163E4
analogous
#E48851 #E4D251 #ACE451
triadic
#E4D251 #51E4D2 #D251E4
tetradic
#E4D251 #51E488 #5163E4 #E451AC
square
#E4D251 #51E488 #5163E4 #E451AC
split-complementary
#E4D251 #51ACE4 #8851E4
monochromatic
#A29119 #D7C021 #E4D251 #ECE086 #F4EDBB

Accessibility & contrast

On white

1.54
#E4D251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#E4D251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D251
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D251#FFFFFF#000000##000000
##E4D2511.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC41
Deuteranopia (green-blind)
#EAD358
Tritanopia (blue-blind)
#F5C4B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d251;
/* rgb */ color: rgb(228, 210, 81);
/* oklch */ color: oklch(85.5% 0.148 101.3);
Tailwind
colors: {
  custom: {
    50: '#f0df88',
    500: '#e4d251',
    950: '#000000',
  },
}
SCSS
$custom: #e4d251;
$custom-light: #f0df88;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d251",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 52.653,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85517,
    "c": 0.14761,
    "h": 101.3
  },
  "luminance": 0.63181
}

Semantic roles & 50–950 ramp

primary
#E4D251
secondary
#3543A4
accent
#28D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D251

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

Preview Lab → · Contrast checker → · Palette generator →

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