#EAE397#EAE397

#EAE397 is a very light, moderate yellow. Relative luminance 0.747; OKLCH L 90.4% C 0.096 H 103.6°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#EAE397
RGBrgb(234, 227, 151)
HSLhsl(55, 66%, 75%)
HSVhsv(55, 35%, 92%)
CMYKcmyk(0%, 3%, 35.5%, 8.2%)
CIE-LABlab(89.24, -8.64, 38.02)
CIE-LCHlch(89.24, 38.99, 102.81°)
OKLaboklab(90.42% -0.0227 0.0938)
OKLCHoklch(90.42% 0.096 103.6)
XYZxyz(66.9876, 74.6665, 40.1555)
Luminance0.7467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE397 #979EEA
analogous
#EAB997 #EAE397 #C7EA97
triadic
#EAE397 #97EAE3 #E397EA
tetradic
#EAE397 #97EAB9 #979EEA #EA97C7
square
#EAE397 #97EAB9 #979EEA #EA97C7
split-complementary
#EAE397 #97C7EA #B997EA
monochromatic
#D5C831 #E0D564 #EAE397 #F4F1CA #FAF8E6

Accessibility & contrast

On white

1.32
#EAE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#EAE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE397
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE397#FFFFFF#000000##000000
##EAE3971.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#F3E29A
Tritanopia (blue-blind)
#F6D9D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #eae397;
/* rgb */ color: rgb(234, 227, 151);
/* oklch */ color: oklch(90.4% 0.096 103.6);
Tailwind
colors: {
  custom: {
    50: '#f2ebb6',
    500: '#eae397',
    950: '#000000',
  },
}
SCSS
$custom: #eae397;
$custom-light: #f2ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#eae397",
  "rgb": {
    "r": 234,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 54.94,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90419,
    "c": 0.09647,
    "h": 103.6
  },
  "luminance": 0.74665
}

Semantic roles & 50–950 ramp

primary
#EAE397
secondary
#6069C5
accent
#27CE17
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EAE397

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

Preview Lab → · Contrast checker → · Palette generator →

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