#E9E157#E9E157

#E9E157 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.1% C 0.156 H 106.0°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#E9E157
RGBrgb(233, 225, 87)
HSLhsl(57, 77%, 63%)
HSVhsv(57, 63%, 91%)
CMYKcmyk(0%, 3.4%, 62.7%, 8.6%)
CIE-LABlab(87.90, -13.64, 66.20)
CIE-LCHlch(87.90, 67.59, 101.64°)
OKLaboklab(89.1% -0.0431 0.1503)
OKLCHoklch(89.1% 0.156 106)
XYZxyz(62.2520, 71.8643, 19.6070)
Luminance0.7186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9E157 #575FE9
analogous
#E99857 #E9E157 #A8E957
triadic
#E9E157 #57E9E1 #E157E9
tetradic
#E9E157 #57E998 #575FE9 #E957A8
square
#E9E157 #57E998 #575FE9 #E957A8
split-complementary
#E9E157 #57A8E9 #9857E9
monochromatic
#AFA617 #E2D721 #E9E157 #F0EB8D #F7F4C3

Accessibility & contrast

On white

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

On black

15.37
#E9E157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9E157
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9E157#FFFFFF#000000##000000
##E9E1571.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9e157;
/* rgb */ color: rgb(233, 225, 87);
/* oklch */ color: oklch(89.1% 0.156 106.0);
Tailwind
colors: {
  custom: {
    50: '#f3ea8c',
    500: '#e9e157',
    950: '#000000',
  },
}
SCSS
$custom: #e9e157;
$custom-light: #f3ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e9e157",
  "rgb": {
    "r": 233,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 56.712,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.89102,
    "c": 0.15636,
    "h": 106
  },
  "luminance": 0.71862
}

Semantic roles & 50–950 ramp

primary
#E9E157
secondary
#353BAF
accent
#18D90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E9E157

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

Preview Lab → · Contrast checker → · Palette generator →

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