#E4E4AA#E4E4AA

#E4E4AA is a very light, moderate yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.075 H 107.8°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#E4E4AA
RGBrgb(228, 228, 170)
HSLhsl(60, 52%, 78%)
HSVhsv(60, 25%, 89%)
CMYKcmyk(0%, 0%, 25.4%, 10.6%)
CIE-LABlab(89.34, -9.07, 28.41)
CIE-LCHlch(89.34, 29.82, 107.71°)
OKLaboklab(90.49% -0.023 0.0716)
OKLCHoklch(90.49% 0.075 107.8)
XYZxyz(66.9940, 74.8840, 48.9473)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E4AA #AAAAE4
analogous
#E4C7AA #E4E4AA #C7E4AA
triadic
#E4E4AA #AAE4E4 #E4AAE4
tetradic
#E4E4AA #AAE4C7 #AAAAE4 #E4AAC7
square
#E4E4AA #AAE4C7 #AAAAE4 #E4AAC7
split-complementary
#E4E4AA #AAC7E4 #C7AAE4
monochromatic
#C6C64D #D5D57C #E4E4AA #F3F3D8 #F8F8E8

Accessibility & contrast

On white

1.31
#E4E4AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#E4E4AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E4AA
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E4AA#FFFFFF#000000##000000
##E4E4AA1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDFA6
Deuteranopia (green-blind)
#EFE2AC
Tritanopia (blue-blind)
#ECDDD5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e4e4aa;
/* rgb */ color: rgb(228, 228, 170);
/* oklch */ color: oklch(90.5% 0.075 107.8);
Tailwind
colors: {
  custom: {
    50: '#edecc3',
    500: '#e4e4aa',
    950: '#000000',
  },
}
SCSS
$custom: #e4e4aa;
$custom-light: #edecc3;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e4aa",
  "rgb": {
    "r": 228,
    "g": 228,
    "b": 170
  },
  "hsl": {
    "h": 60,
    "s": 51.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.90488,
    "c": 0.07519,
    "h": 107.8
  },
  "luminance": 0.74883
}

Semantic roles & 50–950 ramp

primary
#E4E4AA
secondary
#7474BE
accent
#26BF26
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#161612
muted
#858482

Preview Lab

Preview with #E4E4AA

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

Preview Lab → · Contrast checker → · Palette generator →

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