#E8E252#E8E252

#E8E252 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.2% C 0.161 H 106.9°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#E8E252
RGBrgb(232, 226, 82)
HSLhsl(58, 77%, 62%)
HSVhsv(58, 65%, 91%)
CMYKcmyk(0%, 2.6%, 64.7%, 9%)
CIE-LABlab(88.05, -14.84, 68.33)
CIE-LCHlch(88.05, 69.92, 102.25°)
OKLaboklab(89.18% -0.0469 0.1541)
OKLCHoklch(89.18% 0.161 106.9)
XYZxyz(62.0003, 72.1598, 18.6433)
Luminance0.7216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E252 #5258E8
analogous
#E89752 #E8E252 #A3E852
triadic
#E8E252 #52E8E2 #E252E8
tetradic
#E8E252 #52E897 #5258E8 #E852A3
square
#E8E252 #52E897 #5258E8 #E852A3
split-complementary
#E8E252 #52A3E8 #9752E8
monochromatic
#A9A316 #DFD71E #E8E252 #EFEB88 #F6F4BE

Accessibility & contrast

On white

1.36
#E8E252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#E8E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E252
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E252#FFFFFF#000000##000000
##E8E2521.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA3F
Deuteranopia (green-blind)
#F7DF5B
Tritanopia (blue-blind)
#F8D4C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e8e252;
/* rgb */ color: rgb(232, 226, 82);
/* oklch */ color: oklch(89.2% 0.161 106.9);
Tailwind
colors: {
  custom: {
    50: '#f3ea8a',
    500: '#e8e252',
    950: '#000000',
  },
}
SCSS
$custom: #e8e252;
$custom-light: #f3ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e252",
  "rgb": {
    "r": 232,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 57.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89184,
    "c": 0.16107,
    "h": 106.9
  },
  "luminance": 0.72158
}

Semantic roles & 50–950 ramp

primary
#E8E252
secondary
#3438AB
accent
#15D90D
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8E252

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

Preview Lab → · Contrast checker → · Palette generator →

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