#E5E170#E5E170

#E5E170 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.0% C 0.136 H 107.0°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#E5E170
RGBrgb(229, 225, 112)
HSLhsl(58, 69%, 67%)
HSVhsv(58, 51%, 90%)
CMYKcmyk(0%, 1.7%, 51.1%, 10.2%)
CIE-LABlab(87.81, -13.46, 55.09)
CIE-LCHlch(87.81, 56.71, 103.73°)
OKLaboklab(89.03% -0.0397 0.1296)
OKLCHoklch(89.03% 0.136 107)
XYZxyz(62.1645, 71.6800, 25.8871)
Luminance0.7168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E170 #7074E5
analogous
#E5A770 #E5E170 #AFE570
triadic
#E5E170 #70E5E1 #E170E5
tetradic
#E5E170 #70E5A7 #7074E5 #E570AF
square
#E5E170 #70E5A7 #7074E5 #E570AF
split-complementary
#E5E170 #70AFE5 #A770E5
monochromatic
#B9B422 #DCD63C #E5E170 #EEECA4 #F8F7D8

Accessibility & contrast

On white

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

On black

15.34
#E5E170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E170
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E170#FFFFFF#000000##000000
##E5E1701.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA65
Deuteranopia (green-blind)
#F3DE76
Tritanopia (blue-blind)
#F3D5C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e170;
/* rgb */ color: rgb(229, 225, 112);
/* oklch */ color: oklch(89.0% 0.136 107.0);
Tailwind
colors: {
  custom: {
    50: '#efea9c',
    500: '#e5e170',
    950: '#000000',
  },
}
SCSS
$custom: #e5e170;
$custom-light: #efea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e170",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 112
  },
  "hsl": {
    "h": 57.949,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89028,
    "c": 0.13554,
    "h": 107
  },
  "luminance": 0.71678
}

Semantic roles & 50–950 ramp

primary
#E5E170
secondary
#4044B9
accent
#1BD114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E5E170

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

Preview Lab → · Contrast checker → · Palette generator →

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