#EED97F#EED97F

#EED97F is a very light, moderate yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.113 H 96.6°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#EED97F
RGBrgb(238, 217, 127)
HSLhsl(49, 77%, 72%)
HSVhsv(49, 47%, 93%)
CMYKcmyk(0%, 8.8%, 46.6%, 6.7%)
CIE-LABlab(86.67, -4.52, 46.74)
CIE-LCHlch(86.67, 46.96, 95.52°)
OKLaboklab(88.36% -0.013 0.1123)
OKLCHoklch(88.36% 0.113 96.6)
XYZxyz(63.9054, 69.3375, 30.0918)
Luminance0.6934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED97F #7F94EE
analogous
#EEA27F #EED97F #CCEE7F
triadic
#EED97F #7FEED9 #D97FEE
tetradic
#EED97F #7FEEA2 #7F94EE #EE7FCC
square
#EED97F #7FEEA2 #7F94EE #EE7FCC
split-complementary
#EED97F #7FCCEE #A27FEE
monochromatic
#D6B31C #E7C949 #EED97F #F5E9B5 #FBF7E4

Accessibility & contrast

On white

1.41
#EED97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#EED97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED97F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED97F#FFFFFF#000000##000000
##EED97F1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D578
Deuteranopia (green-blind)
#EFDC83
Tritanopia (blue-blind)
#FDCDC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #eed97f;
/* rgb */ color: rgb(238, 217, 127);
/* oklch */ color: oklch(88.4% 0.113 96.6);
Tailwind
colors: {
  custom: {
    50: '#f5e4a6',
    500: '#eed97f',
    950: '#000000',
  },
}
SCSS
$custom: #eed97f;
$custom-light: #f5e4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#eed97f",
  "rgb": {
    "r": 238,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 48.649,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88357,
    "c": 0.11307,
    "h": 96.6
  },
  "luminance": 0.69335
}

Semantic roles & 50–950 ramp

primary
#EED97F
secondary
#4961C8
accent
#33D90D
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EED97F

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

Preview Lab → · Contrast checker → · Palette generator →

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