#E5E159#E5E159

#E5E159 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.8% C 0.155 H 107.6°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#E5E159
RGBrgb(229, 225, 89)
HSLhsl(58, 73%, 62%)
HSVhsv(58, 61%, 90%)
CMYKcmyk(0%, 1.7%, 61.1%, 10.2%)
CIE-LABlab(87.60, -15.15, 64.96)
CIE-LCHlch(87.60, 66.70, 103.13°)
OKLaboklab(88.79% -0.0469 0.148)
OKLCHoklch(88.79% 0.155 107.6)
XYZxyz(61.0435, 71.2316, 19.9828)
Luminance0.7123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E159 #595DE5
analogous
#E59B59 #E5E159 #A3E559
triadic
#E5E159 #59E5E1 #E159E5
tetradic
#E5E159 #59E59B #595DE5 #E559A3
square
#E5E159 #59E59B #595DE5 #E559A3
split-complementary
#E5E159 #59A3E5 #9B59E5
monochromatic
#A9A51A #DDD724 #E5E159 #EDEB8E #F6F4C3

Accessibility & contrast

On white

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

On black

15.25
#E5E159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E159
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E159#FFFFFF#000000##000000
##E5E1591.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D949
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#F4D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e159;
/* rgb */ color: rgb(229, 225, 89);
/* oklch */ color: oklch(88.8% 0.155 107.6);
Tailwind
colors: {
  custom: {
    50: '#f0ea8e',
    500: '#e5e159',
    950: '#000000',
  },
}
SCSS
$custom: #e5e159;
$custom-light: #f0ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e159",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 89
  },
  "hsl": {
    "h": 58.286,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88786,
    "c": 0.1553,
    "h": 107.6
  },
  "luminance": 0.7123
}

Semantic roles & 50–950 ramp

primary
#E5E159
secondary
#373BAB
accent
#16D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E5E159

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

Preview Lab → · Contrast checker → · Palette generator →

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