#EAE796#EAE796

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

Color values

HEX#EAE796
RGBrgb(234, 231, 150)
HSLhsl(58, 67%, 75%)
HSVhsv(58, 36%, 92%)
CMYKcmyk(0%, 1.3%, 35.9%, 8.2%)
CIE-LABlab(90.25, -10.76, 39.84)
CIE-LCHlch(90.25, 41.26, 105.12°)
OKLaboklab(91.22% -0.0289 0.0979)
OKLCHoklch(91.22% 0.102 106.4)
XYZxyz(68.0134, 76.8477, 40.0985)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE796 #9699EA
analogous
#EABD96 #EAE796 #C3EA96
triadic
#EAE796 #96EAE7 #E796EA
tetradic
#EAE796 #96EABD #9699EA #EA96C3
square
#EAE796 #96EABD #9699EA #EA96C3
split-complementary
#EAE796 #96C3EA #BD96EA
monochromatic
#D6D030 #E0DB63 #EAE796 #F4F3C9 #FAF9E5

Accessibility & contrast

On white

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

On black

16.37
#EAE796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE796
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE796#FFFFFF#000000##000000
##EAE7961.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eae796;
/* rgb */ color: rgb(234, 231, 150);
/* oklch */ color: oklch(91.2% 0.102 106.4);
Tailwind
colors: {
  custom: {
    50: '#f2eeb6',
    500: '#eae796',
    950: '#000000',
  },
}
SCSS
$custom: #eae796;
$custom-light: #f2eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#eae796",
  "rgb": {
    "r": 234,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 57.857,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91219,
    "c": 0.10208,
    "h": 106.4
  },
  "luminance": 0.76846
}

Semantic roles & 50–950 ramp

primary
#EAE796
secondary
#5F63C5
accent
#1ECF17
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EAE796

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

Preview Lab → · Contrast checker → · Palette generator →

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