#E9E152#E9E152

#E9E152 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.1% C 0.160 H 106.1°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#E9E152
RGBrgb(233, 225, 82)
HSLhsl(57, 77%, 62%)
HSVhsv(57, 65%, 91%)
CMYKcmyk(0%, 3.4%, 64.8%, 8.6%)
CIE-LABlab(87.87, -13.94, 68.17)
CIE-LCHlch(87.87, 69.58, 101.55°)
OKLaboklab(89.06% -0.0444 0.1537)
OKLCHoklch(89.06% 0.16 106.1)
XYZxyz(62.0547, 71.7854, 18.5682)
Luminance0.7178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9E152 #525AE9
analogous
#E99652 #E9E152 #A6E952
triadic
#E9E152 #52E9E1 #E152E9
tetradic
#E9E152 #52E996 #525AE9 #E952A6
square
#E9E152 #52E996 #525AE9 #E952A6
split-complementary
#E9E152 #52A6E9 #9652E9
monochromatic
#ABA316 #E1D71D #E9E152 #F0EA88 #F7F4BF

Accessibility & contrast

On white

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

On black

15.36
#E9E152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9E152
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9E152#FFFFFF#000000##000000
##E9E1521.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93F
Deuteranopia (green-blind)
#F7DF5B
Tritanopia (blue-blind)
#F9D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e9e152;
/* rgb */ color: rgb(233, 225, 82);
/* oklch */ color: oklch(89.1% 0.160 106.1);
Tailwind
colors: {
  custom: {
    50: '#f3ea8a',
    500: '#e9e152',
    950: '#000000',
  },
}
SCSS
$custom: #e9e152;
$custom-light: #f3ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e9e152",
  "rgb": {
    "r": 233,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 56.821,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89059,
    "c": 0.16,
    "h": 106.1
  },
  "luminance": 0.71783
}

Semantic roles & 50–950 ramp

primary
#E9E152
secondary
#333AAC
accent
#17DA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E9E152

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

Preview Lab → · Contrast checker → · Palette generator →

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