#E4D258#E4D258

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

Color values

HEX#E4D258
RGBrgb(228, 210, 88)
HSLhsl(52, 72%, 62%)
HSVhsv(52, 61%, 89%)
CMYKcmyk(0%, 7.9%, 61.4%, 10.6%)
CIE-LABlab(83.60, -8.13, 61.03)
CIE-LCHlch(83.60, 61.57, 97.59°)
OKLaboklab(85.58% -0.027 0.1396)
OKLCHoklch(85.58% 0.142 100.9)
XYZxyz(56.8052, 63.2941, 18.4554)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D258 #586AE4
analogous
#E48C58 #E4D258 #B0E458
triadic
#E4D258 #58E4D2 #D258E4
tetradic
#E4D258 #58E48C #586AE4 #E458B0
square
#E4D258 #58E48C #586AE4 #E458B0
split-complementary
#E4D258 #58B0E4 #8C58E4
monochromatic
#A7951B #DBC423 #E4D258 #EDE08D #F5EEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4D258#FFFFFF#000000##000000
##E4D2581.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)
#E4CC4A
Deuteranopia (green-blind)
#E9D45E
Tritanopia (blue-blind)
#F4C4B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d258;
/* rgb */ color: rgb(228, 210, 88);
/* oklch */ color: oklch(85.6% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#f0df8c',
    500: '#e4d258',
    950: '#000000',
  },
}
SCSS
$custom: #e4d258;
$custom-light: #f0df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d258",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 52.286,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85581,
    "c": 0.1422,
    "h": 100.9
  },
  "luminance": 0.63292
}

Semantic roles & 50–950 ramp

primary
#E4D258
secondary
#3746A9
accent
#2AD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D258

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

Preview Lab → · Contrast checker → · Palette generator →

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