#E5E178#E5E178

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

Color values

HEX#E5E178
RGBrgb(229, 225, 120)
HSLhsl(58, 68%, 68%)
HSVhsv(58, 48%, 90%)
CMYKcmyk(0%, 1.7%, 47.6%, 10.2%)
CIE-LABlab(87.90, -12.77, 51.45)
CIE-LCHlch(87.90, 53.01, 103.94°)
OKLaboklab(89.13% -0.0369 0.1224)
OKLCHoklch(89.13% 0.128 106.8)
XYZxyz(62.6299, 71.8662, 28.3380)
Luminance0.7187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E178 #787CE5
analogous
#E5AA78 #E5E178 #B2E578
triadic
#E5E178 #78E5E1 #E178E5
tetradic
#E5E178 #78E5AA #787CE5 #E578B2
square
#E5E178 #78E5AA #787CE5 #E578B2
split-complementary
#E5E178 #78B2E5 #AA78E5
monochromatic
#BEB825 #DBD645 #E5E178 #EFECAB #F9F8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5E178#FFFFFF#000000##000000
##E5E1781.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)
#F0DA6F
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#F3D5C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e178;
/* rgb */ color: rgb(229, 225, 120);
/* oklch */ color: oklch(89.1% 0.128 106.8);
Tailwind
colors: {
  custom: {
    50: '#efeaa1',
    500: '#e5e178',
    950: '#000000',
  },
}
SCSS
$custom: #e5e178;
$custom-light: #efeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e178",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 57.798,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89129,
    "c": 0.12779,
    "h": 106.8
  },
  "luminance": 0.71865
}

Semantic roles & 50–950 ramp

primary
#E5E178
secondary
#4549BD
accent
#1DD016
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E5E178

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

Preview Lab → · Contrast checker → · Palette generator →

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