#ECDD77#ECDD77

#ECDD77 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.125 H 101.0°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#ECDD77
RGBrgb(236, 221, 119)
HSLhsl(52, 75%, 70%)
HSVhsv(52, 50%, 93%)
CMYKcmyk(0%, 6.4%, 49.6%, 7.5%)
CIE-LABlab(87.43, -8.06, 51.49)
CIE-LCHlch(87.43, 52.11, 98.90°)
OKLaboklab(88.88% -0.0239 0.1222)
OKLCHoklch(88.88% 0.125 101)
XYZxyz(63.7801, 70.8799, 27.7707)
Luminance0.7088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD77 #7786EC
analogous
#ECA377 #ECDD77 #C0EC77
triadic
#ECDD77 #77ECDD #DD77EC
tetradic
#ECDD77 #77ECA3 #7786EC #EC77C0
square
#ECDD77 #77ECA3 #7786EC #EC77C0
split-complementary
#ECDD77 #77C0EC #A377EC
monochromatic
#CCB61D #E4D041 #ECDD77 #F4EAAD #FBF8E2

Accessibility & contrast

On white

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

On black

15.18
#ECDD77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD77
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD77#FFFFFF#000000##000000
##ECDD771.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED76E
Deuteranopia (green-blind)
#F2DE7C
Tritanopia (blue-blind)
#FBD1C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdd77;
/* rgb */ color: rgb(236, 221, 119);
/* oklch */ color: oklch(88.9% 0.125 101.0);
Tailwind
colors: {
  custom: {
    50: '#f4e7a0',
    500: '#ecdd77',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd77;
$custom-light: #f4e7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd77",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 119
  },
  "hsl": {
    "h": 52.308,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88883,
    "c": 0.12455,
    "h": 101
  },
  "luminance": 0.70878
}

Semantic roles & 50–950 ramp

primary
#ECDD77
secondary
#4253C5
accent
#28D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDD77

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

Preview Lab → · Contrast checker → · Palette generator →

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