#E8E173#E8E173

#E8E173 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.3% C 0.132 H 105.5°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#E8E173
RGBrgb(232, 225, 115)
HSLhsl(56, 72%, 68%)
HSVhsv(56, 50%, 91%)
CMYKcmyk(0%, 3%, 50.4%, 9%)
CIE-LABlab(88.09, -12.01, 54.08)
CIE-LCHlch(88.09, 55.40, 102.52°)
OKLaboklab(89.31% -0.0354 0.1276)
OKLCHoklch(89.31% 0.132 105.5)
XYZxyz(63.3001, 72.2459, 26.8267)
Luminance0.7224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E173 #737AE8
analogous
#E8A673 #E8E173 #B4E873
triadic
#E8E173 #73E8E1 #E173E8
tetradic
#E8E173 #73E8A6 #737AE8 #E873B4
square
#E8E173 #73E8A6 #737AE8 #E873B4
split-complementary
#E8E173 #73B4E8 #A673E8
monochromatic
#C1B720 #DFD63E #E8E173 #F1ECA8 #F9F8DC

Accessibility & contrast

On white

1.36
#E8E173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#E8E173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E173
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E173#FFFFFF#000000##000000
##E8E1731.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA69
Deuteranopia (green-blind)
#F4DF78
Tritanopia (blue-blind)
#F6D5C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e8e173;
/* rgb */ color: rgb(232, 225, 115);
/* oklch */ color: oklch(89.3% 0.132 105.5);
Tailwind
colors: {
  custom: {
    50: '#f1ea9e',
    500: '#e8e173',
    950: '#000000',
  },
}
SCSS
$custom: #e8e173;
$custom-light: #f1ea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e173",
  "rgb": {
    "r": 232,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 56.41,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89314,
    "c": 0.13244,
    "h": 105.5
  },
  "luminance": 0.72244
}

Semantic roles & 50–950 ramp

primary
#E8E173
secondary
#4047C0
accent
#1DD412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E8E173

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

Preview Lab → · Contrast checker → · Palette generator →

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