#E5E258#E5E258

#E5E258 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.157 H 108.0°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#E5E258
RGBrgb(229, 226, 88)
HSLhsl(59, 73%, 62%)
HSVhsv(59, 62%, 90%)
CMYKcmyk(0%, 1.3%, 61.6%, 10.2%)
CIE-LABlab(87.85, -15.71, 65.64)
CIE-LCHlch(87.85, 67.50, 103.46°)
OKLaboklab(88.99% -0.0486 0.1494)
OKLCHoklch(88.99% 0.157 108)
XYZxyz(61.2729, 71.7571, 19.8535)
Luminance0.7176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E258 #585BE5
analogous
#E59B58 #E5E258 #A2E558
triadic
#E5E258 #58E5E2 #E258E5
tetradic
#E5E258 #58E59B #585BE5 #E558A2
square
#E5E258 #58E59B #585BE5 #E558A2
split-complementary
#E5E258 #58A2E5 #9B58E5
monochromatic
#A8A51A #DDD923 #E5E258 #EDEB8D #F5F4C2

Accessibility & contrast

On white

1.37
#E5E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#E5E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E258
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E258#FFFFFF#000000##000000
##E5E2581.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D947
Deuteranopia (green-blind)
#F6DF60
Tritanopia (blue-blind)
#F4D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e258;
/* rgb */ color: rgb(229, 226, 88);
/* oklch */ color: oklch(89.0% 0.157 108.0);
Tailwind
colors: {
  custom: {
    50: '#f0ea8d',
    500: '#e5e258',
    950: '#000000',
  },
}
SCSS
$custom: #e5e258;
$custom-light: #f0ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e258",
  "rgb": {
    "r": 229,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 58.723,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88986,
    "c": 0.15706,
    "h": 108
  },
  "luminance": 0.71755
}

Semantic roles & 50–950 ramp

primary
#E5E258
secondary
#3739AA
accent
#15D510
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E5E258

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

Preview Lab → · Contrast checker → · Palette generator →

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