#E4D151#E4D151

#E4D151 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.147 H 100.8°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#E4D151
RGBrgb(228, 209, 81)
HSLhsl(52, 73%, 61%)
HSVhsv(52, 64%, 89%)
CMYKcmyk(0%, 8.3%, 64.5%, 10.6%)
CIE-LABlab(83.28, -8.06, 63.65)
CIE-LCHlch(83.28, 64.16, 97.22°)
OKLaboklab(85.31% -0.0276 0.1442)
OKLCHoklch(85.31% 0.147 100.8)
XYZxyz(56.2829, 62.6914, 16.9190)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D151 #5164E4
analogous
#E48751 #E4D151 #ADE451
triadic
#E4D151 #51E4D1 #D151E4
tetradic
#E4D151 #51E487 #5164E4 #E451AD
square
#E4D151 #51E487 #5164E4 #E451AD
split-complementary
#E4D151 #51ADE4 #8751E4
monochromatic
#A29019 #D7BF21 #E4D151 #ECDF86 #F4EDBB

Accessibility & contrast

On white

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

On black

13.54
#E4D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D151
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D151#FFFFFF#000000##000000
##E4D1511.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB41
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#F5C3B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4d151;
/* rgb */ color: rgb(228, 209, 81);
/* oklch */ color: oklch(85.3% 0.147 100.8);
Tailwind
colors: {
  custom: {
    50: '#f0de88',
    500: '#e4d151',
    950: '#000000',
  },
}
SCSS
$custom: #e4d151;
$custom-light: #f0de88;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d151",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 52.245,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85311,
    "c": 0.14676,
    "h": 100.8
  },
  "luminance": 0.62689
}

Semantic roles & 50–950 ramp

primary
#E4D151
secondary
#3543A4
accent
#2AD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D151

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

Preview Lab → · Contrast checker → · Palette generator →

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