#E4E174#E4E174

#E4E174 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.0% C 0.132 H 107.4°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#E4E174
RGBrgb(228, 225, 116)
HSLhsl(58, 67%, 67%)
HSVhsv(58, 49%, 89%)
CMYKcmyk(0%, 1.3%, 49.1%, 10.6%)
CIE-LABlab(87.78, -13.52, 53.17)
CIE-LCHlch(87.78, 54.86, 104.27°)
OKLaboklab(89% -0.0394 0.1258)
OKLCHoklch(89% 0.132 107.4)
XYZxyz(62.0740, 71.6070, 27.0713)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E174 #7477E4
analogous
#E4A974 #E4E174 #AFE474
triadic
#E4E174 #74E4E1 #E174E4
tetradic
#E4E174 #74E4A9 #7477E4 #E474AF
square
#E4E174 #74E4A9 #7477E4 #E474AF
split-complementary
#E4E174 #74AFE4 #A974E4
monochromatic
#BAB624 #DAD641 #E4E174 #EEECA7 #F8F7DA

Accessibility & contrast

On white

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

On black

15.32
#E4E174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E174
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E174#FFFFFF#000000##000000
##E4E1741.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6A
Deuteranopia (green-blind)
#F3DE79
Tritanopia (blue-blind)
#F2D5C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e4e174;
/* rgb */ color: rgb(228, 225, 116);
/* oklch */ color: oklch(89.0% 0.132 107.4);
Tailwind
colors: {
  custom: {
    50: '#eeea9e',
    500: '#e4e174',
    950: '#000000',
  },
}
SCSS
$custom: #e4e174;
$custom-light: #eeea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e174",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 116
  },
  "hsl": {
    "h": 58.393,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88995,
    "c": 0.13181,
    "h": 107.4
  },
  "luminance": 0.71605
}

Semantic roles & 50–950 ramp

primary
#E4E174
secondary
#4346BA
accent
#1BCF16
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E4E174

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

Preview Lab → · Contrast checker → · Palette generator →

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