#E4E1AF#E4E1AF

#E4E1AF is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.065 H 104.8°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#E4E1AF
RGBrgb(228, 225, 175)
HSLhsl(57, 50%, 79%)
HSVhsv(57, 23%, 89%)
CMYKcmyk(0%, 1.3%, 23.2%, 10.6%)
CIE-LABlab(88.66, -6.88, 24.91)
CIE-LCHlch(88.66, 25.84, 105.44°)
OKLaboklab(89.98% -0.0167 0.0632)
OKLCHoklch(89.98% 0.065 104.8)
XYZxyz(66.6579, 73.4405, 51.2131)
Luminance0.7344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E1AF #AFB2E4
analogous
#E4C7AF #E4E1AF #CDE4AF
triadic
#E4E1AF #AFE4E1 #E1AFE4
tetradic
#E4E1AF #AFE4C7 #AFB2E4 #E4AFCD
square
#E4E1AF #AFE4C7 #AFB2E4 #E4AFCD
split-complementary
#E4E1AF #AFCDE4 #C7AFE4
monochromatic
#C5BF53 #D5D081 #E4E1AF #F3F2DD #F7F6E8

Accessibility & contrast

On white

1.34
#E4E1AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#E4E1AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E1AF
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E1AF#FFFFFF#000000##000000
##E4E1AF1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EADDAC
Deuteranopia (green-blind)
#ECE0B1
Tritanopia (blue-blind)
#ECDAD3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e4e1af;
/* rgb */ color: rgb(228, 225, 175);
/* oklch */ color: oklch(90.0% 0.065 104.8);
Tailwind
colors: {
  custom: {
    50: '#edeac7',
    500: '#e4e1af',
    950: '#000000',
  },
}
SCSS
$custom: #e4e1af;
$custom-light: #edeac7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e1af",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 175
  },
  "hsl": {
    "h": 56.604,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.89979,
    "c": 0.06535,
    "h": 104.8
  },
  "luminance": 0.7344
}

Semantic roles & 50–950 ramp

primary
#E4E1AF
secondary
#797DBE
accent
#31BD29
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#161613
muted
#858482

Preview Lab

Preview with #E4E1AF

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

Preview Lab → · Contrast checker → · Palette generator →

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