#ECD77A#ECD77A

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

Color values

HEX#ECD77A
RGBrgb(236, 215, 122)
HSLhsl(49, 75%, 70%)
HSVhsv(49, 48%, 93%)
CMYKcmyk(0%, 8.9%, 48.3%, 7.5%)
CIE-LABlab(85.93, -4.76, 48.23)
CIE-LCHlch(85.93, 48.46, 95.64°)
OKLaboklab(87.71% -0.014 0.1153)
OKLCHoklch(87.71% 0.116 96.9)
XYZxyz(62.4073, 67.8413, 28.2159)
Luminance0.6784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD77A #7A8FEC
analogous
#EC9E7A #ECD77A #C8EC7A
triadic
#ECD77A #7AECD7 #D77AEC
tetradic
#ECD77A #7AEC9E #7A8FEC #EC7AC8
square
#ECD77A #7AEC9E #7A8FEC #EC7AC8
split-complementary
#ECD77A #7AC8EC #9E7AEC
monochromatic
#CEAE1D #E4C744 #ECD77A #F4E7B0 #FBF7E4

Accessibility & contrast

On white

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

On black

14.57
#ECD77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD77A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD77A#FFFFFF#000000##000000
##ECD77A1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D372
Deuteranopia (green-blind)
#EDDA7E
Tritanopia (blue-blind)
#FBCBC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd77a;
/* rgb */ color: rgb(236, 215, 122);
/* oklch */ color: oklch(87.7% 0.116 96.9);
Tailwind
colors: {
  custom: {
    50: '#f4e3a2',
    500: '#ecd77a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd77a;
$custom-light: #f4e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd77a",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 122
  },
  "hsl": {
    "h": 48.947,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87707,
    "c": 0.11614,
    "h": 96.9
  },
  "luminance": 0.67839
}

Semantic roles & 50–950 ramp

primary
#ECD77A
secondary
#455DC5
accent
#33D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD77A

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

Preview Lab → · Contrast checker → · Palette generator →

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