#EDDC7D#EDDC7D

#EDDC7D is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 88.8% C 0.118 H 99.4°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#EDDC7D
RGBrgb(237, 220, 125)
HSLhsl(51, 76%, 71%)
HSVhsv(51, 47%, 93%)
CMYKcmyk(0%, 7.2%, 47.3%, 7.1%)
CIE-LABlab(87.33, -6.62, 48.51)
CIE-LCHlch(87.33, 48.96, 97.77°)
OKLaboklab(88.85% -0.0192 0.1161)
OKLCHoklch(88.85% 0.118 99.4)
XYZxyz(64.2217, 70.6738, 29.6565)
Luminance0.7067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDDC7D #7D8EED
analogous
#EDA47D #EDDC7D #C6ED7D
triadic
#EDDC7D #7DEDDC #DC7DED
tetradic
#EDDC7D #7DEDA4 #7D8EED #ED7DC6
square
#EDDC7D #7DEDA4 #7D8EED #ED7DC6
split-complementary
#EDDC7D #7DC6ED #A47DED
monochromatic
#D2B71D #E6CE47 #EDDC7D #F4EAB3 #FBF8E4

Accessibility & contrast

On white

1.39
#EDDC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#EDDC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDDC7D
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDDC7D#FFFFFF#000000##000000
##EDDC7D1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#F1DE81
Tritanopia (blue-blind)
#FCD0C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #eddc7d;
/* rgb */ color: rgb(237, 220, 125);
/* oklch */ color: oklch(88.8% 0.118 99.4);
Tailwind
colors: {
  custom: {
    50: '#f5e6a4',
    500: '#eddc7d',
    950: '#000000',
  },
}
SCSS
$custom: #eddc7d;
$custom-light: #f5e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#eddc7d",
  "rgb": {
    "r": 237,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 50.893,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88847,
    "c": 0.11768,
    "h": 99.4
  },
  "luminance": 0.70672
}

Semantic roles & 50–950 ramp

primary
#EDDC7D
secondary
#485BC7
accent
#2CD80E
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EDDC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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