#EAD98F#EAD98F

#EAD98F is a very light, moderate yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.095 H 96.8°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#EAD98F
RGBrgb(234, 217, 143)
HSLhsl(49, 68%, 74%)
HSVhsv(49, 39%, 92%)
CMYKcmyk(0%, 7.3%, 38.9%, 8.2%)
CIE-LABlab(86.56, -4.48, 38.57)
CIE-LCHlch(86.56, 38.83, 96.63°)
OKLaboklab(88.26% -0.0113 0.0947)
OKLCHoklch(88.26% 0.095 96.8)
XYZxyz(63.7037, 69.1033, 35.9639)
Luminance0.6910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAD98F #8FA0EA
analogous
#EAAC8F #EAD98F #CEEA8F
triadic
#EAD98F #8FEAD9 #D98FEA
tetradic
#EAD98F #8FEAAC #8FA0EA #EA8FCE
square
#EAD98F #8FEAAC #8FA0EA #EA8FCE
split-complementary
#EAD98F #8FCEEA #AC8FEA
monochromatic
#D6B628 #E0C85B #EAD98F #F4EAC3 #FAF6E5

Accessibility & contrast

On white

1.42
#EAD98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#EAD98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAD98F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAD98F#FFFFFF#000000##000000
##EAD98F1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D58A
Deuteranopia (green-blind)
#ECDB92
Tritanopia (blue-blind)
#F7CFC6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ead98f;
/* rgb */ color: rgb(234, 217, 143);
/* oklch */ color: oklch(88.3% 0.095 96.8);
Tailwind
colors: {
  custom: {
    50: '#f2e4b0',
    500: '#ead98f',
    950: '#000000',
  },
}
SCSS
$custom: #ead98f;
$custom-light: #f2e4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ead98f",
  "rgb": {
    "r": 234,
    "g": 217,
    "b": 143
  },
  "hsl": {
    "h": 48.791,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88257,
    "c": 0.09538,
    "h": 96.8
  },
  "luminance": 0.69101
}

Semantic roles & 50–950 ramp

primary
#EAD98F
secondary
#596DC4
accent
#38D015
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EAD98F

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

Preview Lab → · Contrast checker → · Palette generator →

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