#E5E951#E5E951

#E5E951 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.4% C 0.169 H 110.8°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#E5E951
RGBrgb(229, 233, 81)
HSLhsl(62, 78%, 62%)
HSVhsv(62, 65%, 91%)
CMYKcmyk(1.7%, 0%, 65.2%, 8.6%)
CIE-LABlab(89.64, -19.54, 70.29)
CIE-LCHlch(89.64, 72.95, 105.54°)
OKLaboklab(90.4% -0.0601 0.1581)
OKLCHoklch(90.4% 0.169 110.8)
XYZxyz(62.9392, 75.5315, 19.0466)
Luminance0.7553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E951 #5551E9
analogous
#E9A151 #E5E951 #99E951
triadic
#E5E951 #51E5E9 #E951E5
tetradic
#E5E951 #51E9A1 #5551E9 #E95199
square
#E5E951 #51E9A1 #5551E9 #E95199
split-complementary
#E5E951 #5199E9 #A151E9
monochromatic
#A6AA16 #DBE01C #E5E951 #EDF087 #F5F7BE

Accessibility & contrast

On white

1.30
#E5E951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#E5E951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E951
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E951#FFFFFF#000000##000000
##E5E9511.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3B
Deuteranopia (green-blind)
#FCE35B
Tritanopia (blue-blind)
#F4DBCA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e5e951;
/* rgb */ color: rgb(229, 233, 81);
/* oklch */ color: oklch(90.4% 0.169 110.8);
Tailwind
colors: {
  custom: {
    50: '#f1ef8a',
    500: '#e5e951',
    950: '#000000',
  },
}
SCSS
$custom: #e5e951;
$custom-light: #f1ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e951",
  "rgb": {
    "r": 229,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 61.579,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.90397,
    "c": 0.16918,
    "h": 110.8
  },
  "luminance": 0.7553
}

Semantic roles & 50–950 ramp

primary
#E5E951
secondary
#3633AB
accent
#0CDA11
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E5E951

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

Preview Lab → · Contrast checker → · Palette generator →

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