#ECD777#ECD777

#ECD777 is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.119 H 97.3°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#ECD777
RGBrgb(236, 215, 119)
HSLhsl(49, 75%, 70%)
HSVhsv(49, 50%, 93%)
CMYKcmyk(0%, 8.9%, 49.6%, 7.5%)
CIE-LABlab(85.89, -5.03, 49.63)
CIE-LCHlch(85.89, 49.89, 95.79°)
OKLaboklab(87.67% -0.0151 0.1182)
OKLCHoklch(87.67% 0.119 97.3)
XYZxyz(62.2242, 67.7681, 27.2521)
Luminance0.6777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD777 #778CEC
analogous
#EC9D77 #ECD777 #C6EC77
triadic
#ECD777 #77ECD7 #D777EC
tetradic
#ECD777 #77EC9D #778CEC #EC77C6
square
#ECD777 #77EC9D #778CEC #EC77C6
split-complementary
#ECD777 #77C6EC #9D77EC
monochromatic
#CCAD1D #E4C741 #ECD777 #F4E7AD #FBF7E2

Accessibility & contrast

On white

1.44
#ECD777 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#ECD777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD777
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD777#FFFFFF#000000##000000
##ECD7771.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D36F
Deuteranopia (green-blind)
#EDDA7B
Tritanopia (blue-blind)
#FBCBC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd777;
/* rgb */ color: rgb(236, 215, 119);
/* oklch */ color: oklch(87.7% 0.119 97.3);
Tailwind
colors: {
  custom: {
    50: '#f4e3a0',
    500: '#ecd777',
    950: '#000000',
  },
}
SCSS
$custom: #ecd777;
$custom-light: #f4e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd777",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 119
  },
  "hsl": {
    "h": 49.231,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87666,
    "c": 0.11912,
    "h": 97.3
  },
  "luminance": 0.67766
}

Semantic roles & 50–950 ramp

primary
#ECD777
secondary
#425AC5
accent
#32D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD777

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

Preview Lab → · Contrast checker → · Palette generator →

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