#ECD77E#ECD77E

#ECD77E is a very light, moderate yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.112 H 96.4°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#ECD77E
RGBrgb(236, 215, 126)
HSLhsl(49, 74%, 71%)
HSVhsv(49, 47%, 93%)
CMYKcmyk(0%, 8.9%, 46.6%, 7.5%)
CIE-LABlab(85.98, -4.39, 46.34)
CIE-LCHlch(85.98, 46.55, 95.42°)
OKLaboklab(87.76% -0.0126 0.1114)
OKLCHoklch(87.76% 0.112 96.4)
XYZxyz(62.6602, 67.9424, 29.5482)
Luminance0.6794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD77E #7E93EC
analogous
#ECA07E #ECD77E #CAEC7E
triadic
#ECD77E #7EECD7 #D77EEC
tetradic
#ECD77E #7EECA0 #7E93EC #EC7ECA
square
#ECD77E #7EECA0 #7E93EC #EC7ECA
split-complementary
#ECD77E #7ECAEC #A07EEC
monochromatic
#D1AF1F #E4C649 #ECD77E #F4E8B3 #FBF7E4

Accessibility & contrast

On white

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

On black

14.59
#ECD77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD77E
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD77E#FFFFFF#000000##000000
##ECD77E1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D377
Deuteranopia (green-blind)
#EDDA82
Tritanopia (blue-blind)
#FBCBC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd77e;
/* rgb */ color: rgb(236, 215, 126);
/* oklch */ color: oklch(87.8% 0.112 96.4);
Tailwind
colors: {
  custom: {
    50: '#f4e3a5',
    500: '#ecd77e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd77e;
$custom-light: #f4e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd77e",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 126
  },
  "hsl": {
    "h": 48.545,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87763,
    "c": 0.11208,
    "h": 96.4
  },
  "luminance": 0.6794
}

Semantic roles & 50–950 ramp

primary
#ECD77E
secondary
#4961C5
accent
#35D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD77E

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

Preview Lab → · Contrast checker → · Palette generator →

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