#E1E252#E1E252

#E1E252 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.6% C 0.162 H 109.7°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#E1E252
RGBrgb(225, 226, 82)
HSLhsl(60, 71%, 60%)
HSVhsv(60, 64%, 89%)
CMYKcmyk(0.4%, 0%, 63.7%, 11.4%)
CIE-LABlab(87.49, -17.70, 67.58)
CIE-LCHlch(87.49, 69.86, 104.68°)
OKLaboklab(88.61% -0.0546 0.1527)
OKLCHoklch(88.61% 0.162 109.7)
XYZxyz(59.7726, 71.0111, 18.5389)
Luminance0.7101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1E252 #5352E2
analogous
#E29B52 #E1E252 #99E252
triadic
#E1E252 #52E1E2 #E252E1
tetradic
#E1E252 #52E29B #5352E2 #E25299
square
#E1E252 #52E29B #5352E2 #E25299
split-complementary
#E1E252 #5299E2 #9B52E2
monochromatic
#9E9F1B #D2D323 #E1E252 #EAEB86 #F3F4BB

Accessibility & contrast

On white

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

On black

15.20
#E1E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1E252
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1E252#FFFFFF#000000##000000
##E1E2521.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1e252;
/* rgb */ color: rgb(225, 226, 82);
/* oklch */ color: oklch(88.6% 0.162 109.7);
Tailwind
colors: {
  custom: {
    50: '#eeea89',
    500: '#e1e252',
    950: '#000000',
  },
}
SCSS
$custom: #e1e252;
$custom-light: #eeea89;
$custom-dark: #000000;
JSON
{
  "hex": "#e1e252",
  "rgb": {
    "r": 225,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 60.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88606,
    "c": 0.16216,
    "h": 109.7
  },
  "luminance": 0.71009
}

Semantic roles & 50–950 ramp

primary
#E1E252
secondary
#3736A2
accent
#12D314
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E1E252

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

Preview Lab → · Contrast checker → · Palette generator →

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