#EAEA97#EAEA97

#EAEA97 is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 91.9% C 0.104 H 108.3°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#EAEA97
RGBrgb(234, 234, 151)
HSLhsl(60, 66%, 75%)
HSVhsv(60, 35%, 92%)
CMYKcmyk(0%, 0%, 35.5%, 8.2%)
CIE-LABlab(91.04, -12.14, 40.36)
CIE-LCHlch(91.04, 42.14, 106.74°)
OKLaboklab(91.85% -0.0328 0.0992)
OKLCHoklch(91.85% 0.104 108.3)
XYZxyz(68.9412, 78.5737, 40.8067)
Luminance0.7857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEA97 #9797EA
analogous
#EAC097 #EAEA97 #C0EA97
triadic
#EAEA97 #97EAEA #EA97EA
tetradic
#EAEA97 #97EAC0 #9797EA #EA97C0
square
#EAEA97 #97EAC0 #9797EA #EA97C0
split-complementary
#EAEA97 #97C0EA #C097EA
monochromatic
#D5D531 #E0E064 #EAEA97 #F4F4CA #FAFAE6

Accessibility & contrast

On white

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

On black

16.71
#EAEA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEA97
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEA97#FFFFFF#000000##000000
##EAEA971.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E391
Deuteranopia (green-blind)
#F8E79A
Tritanopia (blue-blind)
#F5E0D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eaea97;
/* rgb */ color: rgb(234, 234, 151);
/* oklch */ color: oklch(91.9% 0.104 108.3);
Tailwind
colors: {
  custom: {
    50: '#f2f0b6',
    500: '#eaea97',
    950: '#000000',
  },
}
SCSS
$custom: #eaea97;
$custom-light: #f2f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eaea97",
  "rgb": {
    "r": 234,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91851,
    "c": 0.10443,
    "h": 108.3
  },
  "luminance": 0.78572
}

Semantic roles & 50–950 ramp

primary
#EAEA97
secondary
#6060C5
accent
#17CE17
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EAEA97

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

Preview Lab → · Contrast checker → · Palette generator →

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