#EDDF97#EDDF97

#EDDF97 is a very light, moderate yellow. Relative luminance 0.730; OKLCH L 89.9% C 0.092 H 98.5°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#EDDF97
RGBrgb(237, 223, 151)
HSLhsl(50, 70%, 76%)
HSVhsv(50, 36%, 93%)
CMYKcmyk(0%, 5.9%, 36.3%, 7.1%)
CIE-LABlab(88.46, -5.47, 37.05)
CIE-LCHlch(88.46, 37.45, 98.40°)
OKLaboklab(89.86% -0.0137 0.0915)
OKLCHoklch(89.86% 0.092 98.5)
XYZxyz(66.8997, 73.0161, 39.8416)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDDF97 #97A5ED
analogous
#EDB497 #EDDF97 #D0ED97
triadic
#EDDF97 #97EDDF #DF97ED
tetradic
#EDDF97 #97EDB4 #97A5ED #ED97D0
square
#EDDF97 #97EDB4 #97A5ED #ED97D0
split-complementary
#EDDF97 #97D0ED #B497ED
monochromatic
#DBBF2F #E4CF63 #EDDF97 #F6EFCB #FAF7E5

Accessibility & contrast

On white

1.35
#EDDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#EDDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDDF97
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDDF97#FFFFFF#000000##000000
##EDDF971.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB92
Deuteranopia (green-blind)
#F1E09A
Tritanopia (blue-blind)
#F9D5CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #eddf97;
/* rgb */ color: rgb(237, 223, 151);
/* oklch */ color: oklch(89.9% 0.092 98.5);
Tailwind
colors: {
  custom: {
    50: '#f4e8b6',
    500: '#eddf97',
    950: '#000000',
  },
}
SCSS
$custom: #eddf97;
$custom-light: #f4e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eddf97",
  "rgb": {
    "r": 237,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 50.233,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.89859,
    "c": 0.09249,
    "h": 98.5
  },
  "luminance": 0.73014
}

Semantic roles & 50–950 ramp

primary
#EDDF97
secondary
#5F71C9
accent
#32D313
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EDDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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