#E4D259#E4D259

#E4D259 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.141 H 100.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#E4D259
RGBrgb(228, 210, 89)
HSLhsl(52, 72%, 62%)
HSVhsv(52, 61%, 89%)
CMYKcmyk(0%, 7.9%, 61%, 10.6%)
CIE-LABlab(83.61, -8.07, 60.61)
CIE-LCHlch(83.61, 61.15, 97.58°)
OKLaboklab(85.59% -0.0267 0.1389)
OKLCHoklch(85.59% 0.141 100.9)
XYZxyz(56.8469, 63.3108, 18.6751)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D259 #596BE4
analogous
#E48C59 #E4D259 #B1E459
triadic
#E4D259 #59E4D2 #D259E4
tetradic
#E4D259 #59E48C #596BE4 #E459B1
square
#E4D259 #59E48C #596BE4 #E459B1
split-complementary
#E4D259 #59B1E4 #8C59E4
monochromatic
#A7951B #DBC424 #E4D259 #EDE08E #F5EFC2

Accessibility & contrast

On white

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

On black

13.66
#E4D259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D259
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D259#FFFFFF#000000##000000
##E4D2591.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4B
Deuteranopia (green-blind)
#E9D45F
Tritanopia (blue-blind)
#F4C4B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d259;
/* rgb */ color: rgb(228, 210, 89);
/* oklch */ color: oklch(85.6% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#f0df8d',
    500: '#e4d259',
    950: '#000000',
  },
}
SCSS
$custom: #e4d259;
$custom-light: #f0df8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d259",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 52.23,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85591,
    "c": 0.1414,
    "h": 100.9
  },
  "luminance": 0.63308
}

Semantic roles & 50–950 ramp

primary
#E4D259
secondary
#3847A9
accent
#2BD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D259

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

Preview Lab → · Contrast checker → · Palette generator →

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