#E2D858#E2D858

#E2D858 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.148 H 104.8°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#E2D858
RGBrgb(226, 216, 88)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 61%, 89%)
CMYKcmyk(0%, 4.4%, 61.1%, 11.4%)
CIE-LABlab(84.99, -11.98, 62.50)
CIE-LCHlch(84.99, 63.63, 100.85°)
OKLaboklab(86.65% -0.0378 0.1428)
OKLCHoklch(86.65% 0.148 104.8)
XYZxyz(57.6834, 65.9871, 18.9289)
Luminance0.6599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D858 #5862E2
analogous
#E29358 #E2D858 #A7E258
triadic
#E2D858 #58E2D8 #D858E2
tetradic
#E2D858 #58E293 #5862E2 #E258A7
square
#E2D858 #58E293 #5862E2 #E258A7
split-complementary
#E2D858 #58A7E2 #9358E2
monochromatic
#A3991C #D7CA25 #E2D858 #EBE48C #F4F0C0

Accessibility & contrast

On white

1.48
#E2D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#E2D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D858
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D858#FFFFFF#000000##000000
##E2D8581.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D149
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d858;
/* rgb */ color: rgb(226, 216, 88);
/* oklch */ color: oklch(86.6% 0.148 104.8);
Tailwind
colors: {
  custom: {
    50: '#eee38c',
    500: '#e2d858',
    950: '#000000',
  },
}
SCSS
$custom: #e2d858;
$custom-light: #eee38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d858",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 55.652,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86648,
    "c": 0.1477,
    "h": 104.8
  },
  "luminance": 0.65985
}

Semantic roles & 50–950 ramp

primary
#E2D858
secondary
#3840A6
accent
#21D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D858

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

Preview Lab → · Contrast checker → · Palette generator →

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