#EAD97B#EAD97B

#EAD97B is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.117 H 99.3°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#EAD97B
RGBrgb(234, 217, 123)
HSLhsl(51, 73%, 70%)
HSVhsv(51, 47%, 92%)
CMYKcmyk(0%, 7.3%, 47.4%, 8.2%)
CIE-LABlab(86.28, -6.49, 48.14)
CIE-LCHlch(86.28, 48.57, 97.67°)
OKLaboklab(87.95% -0.0188 0.1152)
OKLCHoklch(87.95% 0.117 99.3)
XYZxyz(62.3214, 68.5504, 28.6838)
Luminance0.6855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAD97B #7B8CEA
analogous
#EAA27B #EAD97B #C3EA7B
triadic
#EAD97B #7BEAD9 #D97BEA
tetradic
#EAD97B #7BEAA2 #7B8CEA #EA7BC3
square
#EAD97B #7BEAA2 #7B8CEA #EA7BC3
split-complementary
#EAD97B #7BC3EA #A27BEA
monochromatic
#CAB020 #E2CA46 #EAD97B #F2E8B0 #FBF7E5

Accessibility & contrast

On white

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

On black

14.71
#EAD97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAD97B
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAD97B#FFFFFF#000000##000000
##EAD97B1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D473
Deuteranopia (green-blind)
#EEDB7F
Tritanopia (blue-blind)
#F9CDC3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ead97b;
/* rgb */ color: rgb(234, 217, 123);
/* oklch */ color: oklch(88.0% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#f3e4a3',
    500: '#ead97b',
    950: '#000000',
  },
}
SCSS
$custom: #ead97b;
$custom-light: #f3e4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ead97b",
  "rgb": {
    "r": 234,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 50.811,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.87951,
    "c": 0.11672,
    "h": 99.3
  },
  "luminance": 0.68548
}

Semantic roles & 50–950 ramp

primary
#EAD97B
secondary
#4659C3
accent
#2FD511
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EAD97B

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

Preview Lab → · Contrast checker → · Palette generator →

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