#E5E152#E5E152

#E5E152 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.7% C 0.161 H 107.7°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#E5E152
RGBrgb(229, 225, 82)
HSLhsl(58, 74%, 61%)
HSVhsv(58, 64%, 90%)
CMYKcmyk(0%, 1.7%, 64.2%, 10.2%)
CIE-LABlab(87.54, -15.58, 67.73)
CIE-LCHlch(87.54, 69.50, 102.95°)
OKLaboklab(88.73% -0.0488 0.1529)
OKLCHoklch(88.73% 0.161 107.7)
XYZxyz(60.7634, 71.1195, 18.5077)
Luminance0.7112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E152 #5256E5
analogous
#E59752 #E5E152 #9FE552
triadic
#E5E152 #52E5E1 #E152E5
tetradic
#E5E152 #52E597 #5256E5 #E5529F
square
#E5E152 #52E597 #5256E5 #E5529F
split-complementary
#E5E152 #529FE5 #9752E5
monochromatic
#A4A019 #D9D421 #E5E152 #EDEA87 #F5F3BC

Accessibility & contrast

On white

1.38
#E5E152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#E5E152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E152
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E152#FFFFFF#000000##000000
##E5E1521.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D83F
Deuteranopia (green-blind)
#F5DE5B
Tritanopia (blue-blind)
#F5D3C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e5e152;
/* rgb */ color: rgb(229, 225, 82);
/* oklch */ color: oklch(88.7% 0.161 107.7);
Tailwind
colors: {
  custom: {
    50: '#f1ea89',
    500: '#e5e152',
    950: '#000000',
  },
}
SCSS
$custom: #e5e152;
$custom-light: #f1ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e152",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 58.367,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.88725,
    "c": 0.16052,
    "h": 107.7
  },
  "luminance": 0.71118
}

Semantic roles & 50–950 ramp

primary
#E5E152
secondary
#3538A6
accent
#15D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E152

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

Preview Lab → · Contrast checker → · Palette generator →

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