#EAE797#EAE797

#EAE797 is a very light, moderate yellow. Relative luminance 0.769; OKLCH L 91.2% C 0.101 H 106.4°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#EAE797
RGBrgb(234, 231, 151)
HSLhsl(58, 66%, 75%)
HSVhsv(58, 35%, 92%)
CMYKcmyk(0%, 1.3%, 35.5%, 8.2%)
CIE-LABlab(90.27, -10.65, 39.35)
CIE-LCHlch(90.27, 40.77, 105.14°)
OKLaboklab(91.24% -0.0285 0.0968)
OKLCHoklch(91.24% 0.101 106.4)
XYZxyz(68.0943, 76.8800, 40.5244)
Luminance0.7688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE797 #979AEA
analogous
#EABD97 #EAE797 #C3EA97
triadic
#EAE797 #97EAE7 #E797EA
tetradic
#EAE797 #97EABD #979AEA #EA97C3
square
#EAE797 #97EABD #979AEA #EA97C3
split-complementary
#EAE797 #97C3EA #BD97EA
monochromatic
#D5CF31 #E0DB64 #EAE797 #F4F3CA #FAF9E6

Accessibility & contrast

On white

1.28
#EAE797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#EAE797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE797
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE797#FFFFFF#000000##000000
##EAE7971.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#F6E59A
Tritanopia (blue-blind)
#F5DDD3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #eae797;
/* rgb */ color: rgb(234, 231, 151);
/* oklch */ color: oklch(91.2% 0.101 106.4);
Tailwind
colors: {
  custom: {
    50: '#f2eeb6',
    500: '#eae797',
    950: '#000000',
  },
}
SCSS
$custom: #eae797;
$custom-light: #f2eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#eae797",
  "rgb": {
    "r": 234,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 57.831,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91236,
    "c": 0.10095,
    "h": 106.4
  },
  "luminance": 0.76879
}

Semantic roles & 50–950 ramp

primary
#EAE797
secondary
#6064C5
accent
#1ECE17
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EAE797

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

Preview Lab → · Contrast checker → · Palette generator →

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