#E5E173#E5E173

#E5E173 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.1% C 0.133 H 106.9°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#E5E173
RGBrgb(229, 225, 115)
HSLhsl(58, 69%, 67%)
HSVhsv(58, 50%, 90%)
CMYKcmyk(0%, 1.7%, 49.8%, 10.2%)
CIE-LABlab(87.85, -13.21, 53.74)
CIE-LCHlch(87.85, 55.34, 103.81°)
OKLaboklab(89.07% -0.0386 0.1269)
OKLCHoklch(89.07% 0.133 106.9)
XYZxyz(62.3344, 71.7479, 26.7815)
Luminance0.7175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E173 #7377E5
analogous
#E5A873 #E5E173 #B0E573
triadic
#E5E173 #73E5E1 #E173E5
tetradic
#E5E173 #73E5A8 #7377E5 #E573B0
square
#E5E173 #73E5A8 #7377E5 #E573B0
split-complementary
#E5E173 #73B0E5 #A873E5
monochromatic
#BBB623 #DBD63F #E5E173 #EFECA7 #F8F7DA

Accessibility & contrast

On white

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

On black

15.35
#E5E173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E173
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E173#FFFFFF#000000##000000
##E5E1731.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA69
Deuteranopia (green-blind)
#F3DE78
Tritanopia (blue-blind)
#F3D5C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e173;
/* rgb */ color: rgb(229, 225, 115);
/* oklch */ color: oklch(89.1% 0.133 106.9);
Tailwind
colors: {
  custom: {
    50: '#efea9e',
    500: '#e5e173',
    950: '#000000',
  },
}
SCSS
$custom: #e5e173;
$custom-light: #efea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e173",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 57.895,
    "s": 68.675,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89065,
    "c": 0.13268,
    "h": 106.9
  },
  "luminance": 0.71746
}

Semantic roles & 50–950 ramp

primary
#E5E173
secondary
#4146BB
accent
#1BD115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E5E173

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

Preview Lab → · Contrast checker → · Palette generator →

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