#EAE997#EAE997

#EAE997 is a very light, moderate yellow. Relative luminance 0.780; OKLCH L 91.6% C 0.103 H 107.7°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#EAE997
RGBrgb(234, 233, 151)
HSLhsl(59, 66%, 75%)
HSVhsv(59, 35%, 92%)
CMYKcmyk(0%, 0.4%, 35.5%, 8.2%)
CIE-LABlab(90.78, -11.64, 40.02)
CIE-LCHlch(90.78, 41.68, 106.22°)
OKLaboklab(91.65% -0.0314 0.0984)
OKLCHoklch(91.65% 0.103 107.7)
XYZxyz(68.6573, 78.0059, 40.7120)
Luminance0.7801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE997 #9798EA
analogous
#EABF97 #EAE997 #C1EA97
triadic
#EAE997 #97EAE9 #E997EA
tetradic
#EAE997 #97EABF #9798EA #EA97C1
square
#EAE997 #97EABF #9798EA #EA97C1
split-complementary
#EAE997 #97C1EA #BF97EA
monochromatic
#D5D331 #E0DE64 #EAE997 #F4F4CA #FAFAE6

Accessibility & contrast

On white

1.26
#EAE997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#EAE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE997
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE997#FFFFFF#000000##000000
##EAE9971.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E391
Deuteranopia (green-blind)
#F7E69A
Tritanopia (blue-blind)
#F5DFD4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eae997;
/* rgb */ color: rgb(234, 233, 151);
/* oklch */ color: oklch(91.6% 0.103 107.7);
Tailwind
colors: {
  custom: {
    50: '#f2efb6',
    500: '#eae997',
    950: '#000000',
  },
}
SCSS
$custom: #eae997;
$custom-light: #f2efb6;
$custom-dark: #000000;
JSON
{
  "hex": "#eae997",
  "rgb": {
    "r": 234,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 59.277,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91645,
    "c": 0.10325,
    "h": 107.7
  },
  "luminance": 0.78005
}

Semantic roles & 50–950 ramp

primary
#EAE997
secondary
#6061C5
accent
#19CE17
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EAE997

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

Preview Lab → · Contrast checker → · Palette generator →

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