#E5E155#E5E155

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

Color values

HEX#E5E155
RGBrgb(229, 225, 85)
HSLhsl(58, 73%, 62%)
HSVhsv(58, 63%, 90%)
CMYKcmyk(0%, 1.7%, 62.9%, 10.2%)
CIE-LABlab(87.57, -15.40, 66.56)
CIE-LCHlch(87.57, 68.32, 103.03°)
OKLaboklab(88.75% -0.048 0.1509)
OKLCHoklch(88.75% 0.158 107.7)
XYZxyz(60.8801, 71.1662, 19.1221)
Luminance0.7116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E155 #5559E5
analogous
#E59955 #E5E155 #A1E555
triadic
#E5E155 #55E5E1 #E155E5
tetradic
#E5E155 #55E599 #5559E5 #E555A1
square
#E5E155 #55E599 #5559E5 #E555A1
split-complementary
#E5E155 #55A1E5 #9955E5
monochromatic
#A6A219 #DBD622 #E5E155 #EDEA8A #F5F4BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5E155#FFFFFF#000000##000000
##E5E1551.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)
#F3D943
Deuteranopia (green-blind)
#F5DE5E
Tritanopia (blue-blind)
#F5D3C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e5e155;
/* rgb */ color: rgb(229, 225, 85);
/* oklch */ color: oklch(88.8% 0.158 107.7);
Tailwind
colors: {
  custom: {
    50: '#f0ea8b',
    500: '#e5e155',
    950: '#000000',
  },
}
SCSS
$custom: #e5e155;
$custom-light: #f0ea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e155",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 85
  },
  "hsl": {
    "h": 58.333,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8875,
    "c": 0.15833,
    "h": 107.7
  },
  "luminance": 0.71164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5E155

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

Preview Lab → · Contrast checker → · Palette generator →

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