#E5E156#E5E156

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

Color values

HEX#E5E156
RGBrgb(229, 225, 86)
HSLhsl(58, 73%, 62%)
HSVhsv(58, 62%, 90%)
CMYKcmyk(0%, 1.7%, 62.4%, 10.2%)
CIE-LABlab(87.57, -15.34, 66.16)
CIE-LCHlch(87.57, 67.92, 103.05°)
OKLaboklab(88.76% -0.0477 0.1502)
OKLCHoklch(88.76% 0.158 107.6)
XYZxyz(60.9201, 71.1822, 19.3328)
Luminance0.7118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E156 #565AE5
analogous
#E59A56 #E5E156 #A1E556
triadic
#E5E156 #56E5E1 #E156E5
tetradic
#E5E156 #56E59A #565AE5 #E556A1
square
#E5E156 #56E59A #565AE5 #E556A1
split-complementary
#E5E156 #56A1E5 #9A56E5
monochromatic
#A7A31A #DCD722 #E5E156 #EDEA8B #F5F4C0

Accessibility & contrast

On white

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

On black

15.24
#E5E156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E156
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E156#FFFFFF#000000##000000
##E5E1561.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5e156;
/* rgb */ color: rgb(229, 225, 86);
/* oklch */ color: oklch(88.8% 0.158 107.6);
Tailwind
colors: {
  custom: {
    50: '#f0ea8c',
    500: '#e5e156',
    950: '#000000',
  },
}
SCSS
$custom: #e5e156;
$custom-light: #f0ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e156",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 58.322,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88759,
    "c": 0.15759,
    "h": 107.6
  },
  "luminance": 0.7118
}

Semantic roles & 50–950 ramp

primary
#E5E156
secondary
#363AA9
accent
#16D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E156

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

Preview Lab → · Contrast checker → · Palette generator →

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