#E4E974#E4E974

#E4E974 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.7% C 0.141 H 111.1°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#E4E974
RGBrgb(228, 233, 116)
HSLhsl(63, 73%, 68%)
HSVhsv(63, 50%, 91%)
CMYKcmyk(2.1%, 0%, 50.2%, 8.6%)
CIE-LABlab(89.88, -17.46, 55.65)
CIE-LCHlch(89.88, 58.32, 107.42°)
OKLaboklab(90.67% -0.0506 0.1312)
OKLCHoklch(90.67% 0.141 111.1)
XYZxyz(64.2875, 76.0341, 27.8091)
Luminance0.7603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E974 #7974E9
analogous
#E9B374 #E4E974 #A9E974
triadic
#E4E974 #74E4E9 #E974E4
tetradic
#E4E974 #74E9B3 #7974E9 #E974A9
square
#E4E974 #74E9B3 #7974E9 #E974A9
split-complementary
#E4E974 #74A9E9 #B374E9
monochromatic
#BDC41F #DAE13F #E4E974 #EEF1A9 #F9FADE

Accessibility & contrast

On white

1.30
#E4E974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#E4E974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E974
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E974#FFFFFF#000000##000000
##E4E9741.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E069
Deuteranopia (green-blind)
#F9E47A
Tritanopia (blue-blind)
#F1DDCE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e974;
/* rgb */ color: rgb(228, 233, 116);
/* oklch */ color: oklch(90.7% 0.141 111.1);
Tailwind
colors: {
  custom: {
    50: '#efef9f',
    500: '#e4e974',
    950: '#000000',
  },
}
SCSS
$custom: #e4e974;
$custom-light: #efef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e974",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 116
  },
  "hsl": {
    "h": 62.564,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90665,
    "c": 0.14062,
    "h": 111.1
  },
  "luminance": 0.76033
}

Semantic roles & 50–950 ramp

primary
#E4E974
secondary
#4640C1
accent
#11D519
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E4E974

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

Preview Lab → · Contrast checker → · Palette generator →

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