#EDD87A#EDD87A

#EDD87A is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.117 H 97.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#EDD87A
RGBrgb(237, 216, 122)
HSLhsl(49, 76%, 70%)
HSVhsv(49, 49%, 93%)
CMYKcmyk(0%, 8.9%, 48.5%, 7.1%)
CIE-LABlab(86.27, -4.87, 48.66)
CIE-LCHlch(86.27, 48.91, 95.71°)
OKLaboklab(88% -0.0144 0.1162)
OKLCHoklch(88% 0.117 97.1)
XYZxyz(62.9957, 68.5238, 28.3167)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD87A #7A8FED
analogous
#ED9E7A #EDD87A #C9ED7A
triadic
#EDD87A #7AEDD8 #D87AED
tetradic
#EDD87A #7AED9E #7A8FED #ED7AC9
square
#EDD87A #7AED9E #7A8FED #ED7AC9
split-complementary
#EDD87A #7AC9ED #9E7AED
monochromatic
#D0AF1C #E6C844 #EDD87A #F4E8B0 #FBF7E4

Accessibility & contrast

On white

1.43
#EDD87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#EDD87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD87A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD87A#FFFFFF#000000##000000
##EDD87A1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D472
Deuteranopia (green-blind)
#EEDB7E
Tritanopia (blue-blind)
#FCCCC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd87a;
/* rgb */ color: rgb(237, 216, 122);
/* oklch */ color: oklch(88.0% 0.117 97.1);
Tailwind
colors: {
  custom: {
    50: '#f5e3a2',
    500: '#edd87a',
    950: '#000000',
  },
}
SCSS
$custom: #edd87a;
$custom-light: #f5e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#edd87a",
  "rgb": {
    "r": 237,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 49.043,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87997,
    "c": 0.11713,
    "h": 97.1
  },
  "luminance": 0.68521
}

Semantic roles & 50–950 ramp

primary
#EDD87A
secondary
#455DC6
accent
#32D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EDD87A

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

Preview Lab → · Contrast checker → · Palette generator →

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