#E5E251#E5E251

#E5E251 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.9% C 0.162 H 108.1°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#E5E251
RGBrgb(229, 226, 81)
HSLhsl(59, 74%, 61%)
HSVhsv(59, 65%, 90%)
CMYKcmyk(0%, 1.3%, 64.6%, 10.2%)
CIE-LABlab(87.80, -16.13, 68.39)
CIE-LCHlch(87.80, 70.27, 103.27°)
OKLaboklab(88.93% -0.0505 0.1541)
OKLCHoklch(88.93% 0.162 108.1)
XYZxyz(60.9967, 71.6467, 18.3991)
Luminance0.7165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E251 #5154E5
analogous
#E59851 #E5E251 #9EE551
triadic
#E5E251 #51E5E2 #E251E5
tetradic
#E5E251 #51E598 #5154E5 #E5519E
square
#E5E251 #51E598 #5154E5 #E5519E
split-complementary
#E5E251 #519EE5 #9851E5
monochromatic
#A3A018 #D8D520 #E5E251 #EDEB86 #F5F4BB

Accessibility & contrast

On white

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

On black

15.33
#E5E251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E251
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E251#FFFFFF#000000##000000
##E5E2511.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93D
Deuteranopia (green-blind)
#F6DF5A
Tritanopia (blue-blind)
#F5D4C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e251;
/* rgb */ color: rgb(229, 226, 81);
/* oklch */ color: oklch(88.9% 0.162 108.1);
Tailwind
colors: {
  custom: {
    50: '#f1ea89',
    500: '#e5e251',
    950: '#000000',
  },
}
SCSS
$custom: #e5e251;
$custom-light: #f1ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e251",
  "rgb": {
    "r": 229,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 58.784,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88926,
    "c": 0.1622,
    "h": 108.1
  },
  "luminance": 0.71645
}

Semantic roles & 50–950 ramp

primary
#E5E251
secondary
#3537A6
accent
#13D60F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E251

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

Preview Lab → · Contrast checker → · Palette generator →

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