#E4E7AB#E4E7AB

#E4E7AB is a very light, moderate yellow. Relative luminance 0.766; OKLCH L 91.1% C 0.078 H 110.2°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#E4E7AB
RGBrgb(228, 231, 171)
HSLhsl(63, 56%, 79%)
HSVhsv(63, 26%, 91%)
CMYKcmyk(1.3%, 0%, 26%, 9.4%)
CIE-LABlab(90.13, -10.44, 28.97)
CIE-LCHlch(90.13, 30.79, 109.82°)
OKLaboklab(91.12% -0.0269 0.073)
OKLCHoklch(91.12% 0.078 110.2)
XYZxyz(67.9214, 76.5869, 49.7248)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E7AB #AEABE7
analogous
#E7CCAB #E4E7AB #C6E7AB
triadic
#E4E7AB #ABE4E7 #E7ABE4
tetradic
#E4E7AB #ABE7CC #AEABE7 #E7ABC6
square
#E4E7AB #ABE7CC #AEABE7 #E7ABC6
split-complementary
#E4E7AB #ABC6E7 #CCABE7
monochromatic
#C5CC4C #D5D97B #E4E7AB #F3F5DB #F7F8E7

Accessibility & contrast

On white

1.29
#E4E7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#E4E7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E7AB
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E7AB#FFFFFF#000000##000000
##E4E7AB1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1E2A7
Deuteranopia (green-blind)
#F1E4AD
Tritanopia (blue-blind)
#ECE0D7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e7ab;
/* rgb */ color: rgb(228, 231, 171);
/* oklch */ color: oklch(91.1% 0.078 110.2);
Tailwind
colors: {
  custom: {
    50: '#edeec4',
    500: '#e4e7ab',
    950: '#000000',
  },
}
SCSS
$custom: #e4e7ab;
$custom-light: #edeec4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e7ab",
  "rgb": {
    "r": 228,
    "g": 231,
    "b": 171
  },
  "hsl": {
    "h": 63,
    "s": 55.556,
    "l": 78.824
  },
  "oklch": {
    "l": 0.91122,
    "c": 0.07775,
    "h": 110.2
  },
  "luminance": 0.76586
}

Semantic roles & 50–950 ramp

primary
#E4E7AB
secondary
#7874C2
accent
#22C32A
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#161612
muted
#858582

Preview Lab

Preview with #E4E7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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