#E4D351#E4D351

#E4D351 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.7% C 0.148 H 101.8°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#E4D351
RGBrgb(228, 211, 81)
HSLhsl(53, 73%, 61%)
HSVhsv(53, 64%, 89%)
CMYKcmyk(0%, 7.5%, 64.5%, 10.6%)
CIE-LABlab(83.80, -9.07, 64.20)
CIE-LCHlch(83.80, 64.83, 98.04°)
OKLaboklab(85.72% -0.0304 0.1453)
OKLCHoklch(85.72% 0.148 101.8)
XYZxyz(56.7767, 63.6789, 17.0836)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D351 #5162E4
analogous
#E48951 #E4D351 #ABE451
triadic
#E4D351 #51E4D3 #D351E4
tetradic
#E4D351 #51E489 #5162E4 #E451AB
square
#E4D351 #51E489 #5162E4 #E451AB
split-complementary
#E4D351 #51ABE4 #8951E4
monochromatic
#A29219 #D7C221 #E4D351 #ECE086 #F4EEBB

Accessibility & contrast

On white

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

On black

13.74
#E4D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D351
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D351#FFFFFF#000000##000000
##E4D3511.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD41
Deuteranopia (green-blind)
#EBD458
Tritanopia (blue-blind)
#F5C5B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e4d351;
/* rgb */ color: rgb(228, 211, 81);
/* oklch */ color: oklch(85.7% 0.148 101.8);
Tailwind
colors: {
  custom: {
    50: '#f0e088',
    500: '#e4d351',
    950: '#000000',
  },
}
SCSS
$custom: #e4d351;
$custom-light: #f0e088;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d351",
  "rgb": {
    "r": 228,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 53.061,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85723,
    "c": 0.14847,
    "h": 101.8
  },
  "luminance": 0.63677
}

Semantic roles & 50–950 ramp

primary
#E4D351
secondary
#3542A4
accent
#27D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D351

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

Preview Lab → · Contrast checker → · Palette generator →

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