#EDDC8B#EDDC8B

#EDDC8B is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.103 H 97.8°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#EDDC8B
RGBrgb(237, 220, 139)
HSLhsl(50, 73%, 74%)
HSVhsv(50, 41%, 93%)
CMYKcmyk(0%, 7.2%, 41.4%, 7.1%)
CIE-LABlab(87.51, -5.25, 41.85)
CIE-LCHlch(87.51, 42.18, 97.15°)
OKLaboklab(89.06% -0.014 0.102)
OKLCHoklch(89.06% 0.103 97.8)
XYZxyz(65.1799, 71.0571, 34.7031)
Luminance0.7106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDDC8B #8B9CED
analogous
#EDAB8B #EDDC8B #CDED8B
triadic
#EDDC8B #8BEDDC #DC8BED
tetradic
#EDDC8B #8BEDAB #8B9CED #ED8BCD
square
#EDDC8B #8BEDAB #8B9CED #ED8BCD
split-complementary
#EDDC8B #8BCDED #AB8BED
monochromatic
#DCBB22 #E5CC56 #EDDC8B #F5ECC0 #FBF7E5

Accessibility & contrast

On white

1.38
#EDDC8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#EDDC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDDC8B
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDDC8B#FFFFFF#000000##000000
##EDDC8B1.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD885
Deuteranopia (green-blind)
#F0DE8E
Tritanopia (blue-blind)
#FBD1C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #eddc8b;
/* rgb */ color: rgb(237, 220, 139);
/* oklch */ color: oklch(89.1% 0.103 97.8);
Tailwind
colors: {
  custom: {
    50: '#f4e6ae',
    500: '#eddc8b',
    950: '#000000',
  },
}
SCSS
$custom: #eddc8b;
$custom-light: #f4e6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#eddc8b",
  "rgb": {
    "r": 237,
    "g": 220,
    "b": 139
  },
  "hsl": {
    "h": 49.592,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89055,
    "c": 0.10297,
    "h": 97.8
  },
  "luminance": 0.71055
}

Semantic roles & 50–950 ramp

primary
#EDDC8B
secondary
#5468C8
accent
#32D510
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EDDC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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