#E5E154#E5E154

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

Color values

HEX#E5E154
RGBrgb(229, 225, 84)
HSLhsl(58, 74%, 61%)
HSVhsv(58, 63%, 90%)
CMYKcmyk(0%, 1.7%, 63.3%, 10.2%)
CIE-LABlab(87.56, -15.46, 66.95)
CIE-LCHlch(87.56, 68.72, 103.00°)
OKLaboklab(88.74% -0.0483 0.1516)
OKLCHoklch(88.74% 0.159 107.7)
XYZxyz(60.8406, 71.1504, 18.9143)
Luminance0.7115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E154 #5458E5
analogous
#E59954 #E5E154 #A1E554
triadic
#E5E154 #54E5E1 #E154E5
tetradic
#E5E154 #54E599 #5458E5 #E554A1
square
#E5E154 #54E599 #5458E5 #E554A1
split-complementary
#E5E154 #54A1E5 #9954E5
monochromatic
#A5A219 #DBD521 #E5E154 #EDEA89 #F5F4BE

Accessibility & contrast

On white

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

On black

15.23
#E5E154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E154
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E154#FFFFFF#000000##000000
##E5E1541.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5e154;
/* rgb */ color: rgb(229, 225, 84);
/* oklch */ color: oklch(88.7% 0.159 107.7);
Tailwind
colors: {
  custom: {
    50: '#f0ea8b',
    500: '#e5e154',
    950: '#000000',
  },
}
SCSS
$custom: #e5e154;
$custom-light: #f0ea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e154",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 84
  },
  "hsl": {
    "h": 58.345,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88742,
    "c": 0.15907,
    "h": 107.7
  },
  "luminance": 0.71149
}

Semantic roles & 50–950 ramp

primary
#E5E154
secondary
#3639A8
accent
#15D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E154

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

Preview Lab → · Contrast checker → · Palette generator →

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