#EDD877#EDD877

#EDD877 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.120 H 97.4°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#EDD877
RGBrgb(237, 216, 119)
HSLhsl(49, 77%, 70%)
HSVhsv(49, 50%, 93%)
CMYKcmyk(0%, 8.9%, 49.8%, 7.1%)
CIE-LABlab(86.23, -5.13, 50.07)
CIE-LCHlch(86.23, 50.33, 95.85°)
OKLaboklab(87.96% -0.0155 0.1191)
OKLCHoklch(87.96% 0.12 97.4)
XYZxyz(62.8127, 68.4506, 27.3528)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD877 #778CED
analogous
#ED9D77 #EDD877 #C7ED77
triadic
#EDD877 #77EDD8 #D877ED
tetradic
#EDD877 #77ED9D #778CED #ED77C7
square
#EDD877 #77ED9D #778CED #ED77C7
split-complementary
#EDD877 #77C7ED #9D77ED
monochromatic
#CEAE1B #E6C941 #EDD877 #F4E7AD #FBF7E3

Accessibility & contrast

On white

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

On black

14.69
#EDD877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD877
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD877#FFFFFF#000000##000000
##EDD8771.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D46F
Deuteranopia (green-blind)
#EFDB7B
Tritanopia (blue-blind)
#FCCBC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd877;
/* rgb */ color: rgb(237, 216, 119);
/* oklch */ color: oklch(88.0% 0.120 97.4);
Tailwind
colors: {
  custom: {
    50: '#f5e3a0',
    500: '#edd877',
    950: '#000000',
  },
}
SCSS
$custom: #edd877;
$custom-light: #f5e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#edd877",
  "rgb": {
    "r": 237,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 49.322,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87956,
    "c": 0.1201,
    "h": 97.4
  },
  "luminance": 0.68448
}

Semantic roles & 50–950 ramp

primary
#EDD877
secondary
#425AC6
accent
#31D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EDD877

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

Preview Lab → · Contrast checker → · Palette generator →

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