#E5E052#E5E052

#E5E052 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.5% C 0.160 H 107.3°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#E5E052
RGBrgb(229, 224, 82)
HSLhsl(58, 74%, 61%)
HSVhsv(58, 64%, 90%)
CMYKcmyk(0%, 2.2%, 64.2%, 10.2%)
CIE-LABlab(87.28, -15.08, 67.46)
CIE-LCHlch(87.28, 69.13, 102.60°)
OKLaboklab(88.52% -0.0474 0.1523)
OKLCHoklch(88.52% 0.16 107.3)
XYZxyz(60.4939, 70.5805, 18.4178)
Luminance0.7058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E052 #5257E5
analogous
#E59652 #E5E052 #A0E552
triadic
#E5E052 #52E5E0 #E052E5
tetradic
#E5E052 #52E596 #5257E5 #E552A0
square
#E5E052 #52E596 #5257E5 #E552A0
split-complementary
#E5E052 #52A0E5 #9652E5
monochromatic
#A49F19 #D9D321 #E5E052 #EDEA87 #F5F3BC

Accessibility & contrast

On white

1.39
#E5E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#E5E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E052
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E052#FFFFFF#000000##000000
##E5E0521.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83F
Deuteranopia (green-blind)
#F5DD5B
Tritanopia (blue-blind)
#F5D2C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e5e052;
/* rgb */ color: rgb(229, 224, 82);
/* oklch */ color: oklch(88.5% 0.160 107.3);
Tailwind
colors: {
  custom: {
    50: '#f0e989',
    500: '#e5e052',
    950: '#000000',
  },
}
SCSS
$custom: #e5e052;
$custom-light: #f0e989;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e052",
  "rgb": {
    "r": 229,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 57.959,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.88516,
    "c": 0.15955,
    "h": 107.3
  },
  "luminance": 0.70579
}

Semantic roles & 50–950 ramp

primary
#E5E052
secondary
#3539A6
accent
#16D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E052

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

Preview Lab → · Contrast checker → · Palette generator →

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