#E5E252#E5E252

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

Color values

HEX#E5E252
RGBrgb(229, 226, 82)
HSLhsl(59, 74%, 61%)
HSVhsv(59, 64%, 90%)
CMYKcmyk(0%, 1.3%, 64.2%, 10.2%)
CIE-LABlab(87.81, -16.07, 68.01)
CIE-LCHlch(87.81, 69.88, 103.29°)
OKLaboklab(88.93% -0.0502 0.1535)
OKLCHoklch(88.93% 0.161 108.1)
XYZxyz(61.0345, 71.6618, 18.5980)
Luminance0.7166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E252 #5255E5
analogous
#E59952 #E5E252 #9EE552
triadic
#E5E252 #52E5E2 #E252E5
tetradic
#E5E252 #52E599 #5255E5 #E5529E
square
#E5E252 #52E599 #5255E5 #E5529E
split-complementary
#E5E252 #529EE5 #9952E5
monochromatic
#A4A119 #D9D521 #E5E252 #EDEB87 #F5F4BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5E252#FFFFFF#000000##000000
##E5E2521.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)
#F4D93F
Deuteranopia (green-blind)
#F6DF5B
Tritanopia (blue-blind)
#F5D4C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e252;
/* rgb */ color: rgb(229, 226, 82);
/* oklch */ color: oklch(88.9% 0.161 108.1);
Tailwind
colors: {
  custom: {
    50: '#f1ea8a',
    500: '#e5e252',
    950: '#000000',
  },
}
SCSS
$custom: #e5e252;
$custom-light: #f1ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e252",
  "rgb": {
    "r": 229,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 58.776,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.88934,
    "c": 0.16149,
    "h": 108.1
  },
  "luminance": 0.7166
}

Semantic roles & 50–950 ramp

primary
#E5E252
secondary
#3537A6
accent
#14D610
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E252

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

Preview Lab → · Contrast checker → · Palette generator →

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