#EAE7AB#EAE7AB

#EAE7AB is a very light, moderate yellow. Relative luminance 0.776; OKLCH L 91.6% C 0.077 H 105.4°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#EAE7AB
RGBrgb(234, 231, 171)
HSLhsl(57, 60%, 79%)
HSVhsv(57, 27%, 92%)
CMYKcmyk(0%, 1.3%, 26.9%, 8.2%)
CIE-LABlab(90.59, -8.21, 29.67)
CIE-LCHlch(90.59, 30.78, 105.47°)
OKLaboklab(91.6% -0.0206 0.0746)
OKLCHoklch(91.6% 0.077 105.4)
XYZxyz(69.8585, 77.5857, 49.8156)
Luminance0.7759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE7AB #ABAEEA
analogous
#EAC8AB #EAE7AB #CEEAAB
triadic
#EAE7AB #ABEAE7 #E7ABEA
tetradic
#EAE7AB #ABEAC8 #ABAEEA #EAABCE
square
#EAE7AB #ABEAC8 #ABAEEA #EAABCE
split-complementary
#EAE7AB #ABCEEA #C8ABEA
monochromatic
#D2CB49 #DED97A #EAE7AB #F6F5DC #F9F8E7

Accessibility & contrast

On white

1.27
#EAE7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#EAE7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE7AB
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE7AB#FFFFFF#000000##000000
##EAE7AB1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1E2A7
Deuteranopia (green-blind)
#F3E5AD
Tritanopia (blue-blind)
#F3DFD7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #eae7ab;
/* rgb */ color: rgb(234, 231, 171);
/* oklch */ color: oklch(91.6% 0.077 105.4);
Tailwind
colors: {
  custom: {
    50: '#f1eec4',
    500: '#eae7ab',
    950: '#000000',
  },
}
SCSS
$custom: #eae7ab;
$custom-light: #f1eec4;
$custom-dark: #000000;
JSON
{
  "hex": "#eae7ab",
  "rgb": {
    "r": 234,
    "g": 231,
    "b": 171
  },
  "hsl": {
    "h": 57.143,
    "s": 60,
    "l": 79.412
  },
  "oklch": {
    "l": 0.91599,
    "c": 0.0774,
    "h": 105.4
  },
  "luminance": 0.77585
}

Semantic roles & 50–950 ramp

primary
#EAE7AB
secondary
#7377C6
accent
#26C81E
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #EAE7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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