#EAD797#EAD797

#EAD797 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.085 H 93.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#EAD797
RGBrgb(234, 215, 151)
HSLhsl(46, 66%, 75%)
HSVhsv(46, 35%, 92%)
CMYKcmyk(0%, 8.1%, 35.5%, 8.2%)
CIE-LABlab(86.17, -2.56, 34.00)
CIE-LCHlch(86.17, 34.10, 94.31°)
OKLaboklab(87.99% -0.0052 0.0844)
OKLCHoklch(87.99% 0.085 93.5)
XYZxyz(63.8191, 68.3296, 39.0993)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAD797 #97AAEA
analogous
#EAAD97 #EAD797 #D3EA97
triadic
#EAD797 #97EAD7 #D797EA
tetradic
#EAD797 #97EAAD #97AAEA #EA97D3
square
#EAD797 #97EAAD #97AAEA #EA97D3
split-complementary
#EAD797 #97D3EA #AD97EA
monochromatic
#D5B031 #E0C364 #EAD797 #F4EBCA #FAF5E6

Accessibility & contrast

On white

1.43
#EAD797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#EAD797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAD797
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAD797#FFFFFF#000000##000000
##EAD7971.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D493
Deuteranopia (green-blind)
#E9DA99
Tritanopia (blue-blind)
#F6CDC6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ead797;
/* rgb */ color: rgb(234, 215, 151);
/* oklch */ color: oklch(88.0% 0.085 93.5);
Tailwind
colors: {
  custom: {
    50: '#f2e3b6',
    500: '#ead797',
    950: '#000000',
  },
}
SCSS
$custom: #ead797;
$custom-light: #f2e3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ead797",
  "rgb": {
    "r": 234,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 46.265,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.87994,
    "c": 0.08455,
    "h": 93.5
  },
  "luminance": 0.68328
}

Semantic roles & 50–950 ramp

primary
#EAD797
secondary
#6077C5
accent
#41CE17
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EAD797

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

Preview Lab → · Contrast checker → · Palette generator →

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