#E8E474#E8E474

#E8E474 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.9% C 0.135 H 107.0°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#E8E474
RGBrgb(232, 228, 116)
HSLhsl(58, 72%, 68%)
HSVhsv(58, 50%, 91%)
CMYKcmyk(0%, 1.7%, 50%, 9%)
CIE-LABlab(88.88, -13.41, 54.55)
CIE-LCHlch(88.88, 56.17, 103.81°)
OKLaboklab(89.95% -0.0393 0.1287)
OKLCHoklch(89.95% 0.135 107)
XYZxyz(64.1761, 73.9053, 27.4041)
Luminance0.7390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E474 #7478E8
analogous
#E8AA74 #E8E474 #B2E874
triadic
#E8E474 #74E8E4 #E474E8
tetradic
#E8E474 #74E8AA #7478E8 #E874B2
square
#E8E474 #74E8AA #7478E8 #E874B2
split-complementary
#E8E474 #74B2E8 #AA74E8
monochromatic
#C2BC20 #DFDA3F #E8E474 #F1EEA9 #F9F8DD

Accessibility & contrast

On white

1.33
#E8E474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#E8E474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E474
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E474#FFFFFF#000000##000000
##E8E4741.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6A
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#F6D8CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e8e474;
/* rgb */ color: rgb(232, 228, 116);
/* oklch */ color: oklch(89.9% 0.135 107.0);
Tailwind
colors: {
  custom: {
    50: '#f1ec9f',
    500: '#e8e474',
    950: '#000000',
  },
}
SCSS
$custom: #e8e474;
$custom-light: #f1ec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e474",
  "rgb": {
    "r": 232,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 57.931,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89946,
    "c": 0.1346,
    "h": 107
  },
  "luminance": 0.73904
}

Semantic roles & 50–950 ramp

primary
#E8E474
secondary
#4045C0
accent
#19D412
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E8E474

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

Preview Lab → · Contrast checker → · Palette generator →

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