#EDDD7E#EDDD7E

#EDDD7E is a very light, moderate yellow. Relative luminance 0.712; OKLCH L 89.1% C 0.118 H 99.9°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#EDDD7E
RGBrgb(237, 221, 126)
HSLhsl(51, 76%, 71%)
HSVhsv(51, 47%, 93%)
CMYKcmyk(0%, 6.8%, 46.8%, 7.1%)
CIE-LABlab(87.59, -7.03, 48.35)
CIE-LCHlch(87.59, 48.86, 98.28°)
OKLaboklab(89.06% -0.0203 0.1158)
OKLCHoklch(89.06% 0.118 99.9)
XYZxyz(64.5491, 71.2260, 30.0824)
Luminance0.7122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDDD7E #7E8EED
analogous
#EDA57E #EDDD7E #C5ED7E
triadic
#EDDD7E #7EEDDD #DD7EED
tetradic
#EDDD7E #7EEDA5 #7E8EED #ED7EC5
square
#EDDD7E #7EEDA5 #7E8EED #ED7EC5
split-complementary
#EDDD7E #7EC5ED #A57EED
monochromatic
#D3B91D #E6CF48 #EDDD7E #F4EBB4 #FBF8E4

Accessibility & contrast

On white

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

On black

15.24
#EDDD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDDD7E
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDDD7E#FFFFFF#000000##000000
##EDDD7E1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD876
Deuteranopia (green-blind)
#F2DE82
Tritanopia (blue-blind)
#FCD1C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #eddd7e;
/* rgb */ color: rgb(237, 221, 126);
/* oklch */ color: oklch(89.1% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#f5e7a5',
    500: '#eddd7e',
    950: '#000000',
  },
}
SCSS
$custom: #eddd7e;
$custom-light: #f5e7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#eddd7e",
  "rgb": {
    "r": 237,
    "g": 221,
    "b": 126
  },
  "hsl": {
    "h": 51.351,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89064,
    "c": 0.1176,
    "h": 99.9
  },
  "luminance": 0.71224
}

Semantic roles & 50–950 ramp

primary
#EDDD7E
secondary
#485BC7
accent
#2BD80E
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EDDD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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