#E5E151#E5E151

#E5E151 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.7% C 0.161 H 107.7°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#E5E151
RGBrgb(229, 225, 81)
HSLhsl(58, 74%, 61%)
HSVhsv(58, 65%, 90%)
CMYKcmyk(0%, 1.7%, 64.6%, 10.2%)
CIE-LABlab(87.54, -15.63, 68.12)
CIE-LCHlch(87.54, 69.89, 102.93°)
OKLaboklab(88.72% -0.0491 0.1536)
OKLCHoklch(88.72% 0.161 107.7)
XYZxyz(60.7256, 71.1044, 18.3087)
Luminance0.7110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E151 #5155E5
analogous
#E59751 #E5E151 #9FE551
triadic
#E5E151 #51E5E1 #E151E5
tetradic
#E5E151 #51E597 #5155E5 #E5519F
square
#E5E151 #51E597 #5155E5 #E5519F
split-complementary
#E5E151 #519FE5 #9751E5
monochromatic
#A39F18 #D8D320 #E5E151 #EDEA86 #F5F3BB

Accessibility & contrast

On white

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

On black

15.22
#E5E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E151
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E151#FFFFFF#000000##000000
##E5E1511.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D83D
Deuteranopia (green-blind)
#F5DE5A
Tritanopia (blue-blind)
#F5D3C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e5e151;
/* rgb */ color: rgb(229, 225, 81);
/* oklch */ color: oklch(88.7% 0.161 107.7);
Tailwind
colors: {
  custom: {
    50: '#f1ea89',
    500: '#e5e151',
    950: '#000000',
  },
}
SCSS
$custom: #e5e151;
$custom-light: #f1ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e151",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 58.378,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88717,
    "c": 0.16123,
    "h": 107.7
  },
  "luminance": 0.71103
}

Semantic roles & 50–950 ramp

primary
#E5E151
secondary
#3538A6
accent
#15D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E151

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

Preview Lab → · Contrast checker → · Palette generator →

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