#ECD77F#ECD77F

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

Color values

HEX#ECD77F
RGBrgb(236, 215, 127)
HSLhsl(48, 74%, 71%)
HSVhsv(48, 46%, 93%)
CMYKcmyk(0%, 8.9%, 46.2%, 7.5%)
CIE-LABlab(85.99, -4.30, 45.86)
CIE-LCHlch(85.99, 46.06, 95.36°)
OKLaboklab(87.78% -0.0122 0.1104)
OKLCHoklch(87.78% 0.111 96.3)
XYZxyz(62.7251, 67.9684, 29.8897)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD77F #7F94EC
analogous
#ECA07F #ECD77F #CAEC7F
triadic
#ECD77F #7FECD7 #D77FEC
tetradic
#ECD77F #7FECA0 #7F94EC #EC7FCA
square
#ECD77F #7FECA0 #7F94EC #EC7FCA
split-complementary
#ECD77F #7FCAEC #A07FEC
monochromatic
#D2AF1F #E4C64A #ECD77F #F4E8B4 #FBF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD77F#FFFFFF#000000##000000
##ECD77F1.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)
#E7D378
Deuteranopia (green-blind)
#EDDA82
Tritanopia (blue-blind)
#FBCBC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd77f;
/* rgb */ color: rgb(236, 215, 127);
/* oklch */ color: oklch(87.8% 0.111 96.3);
Tailwind
colors: {
  custom: {
    50: '#f4e3a5',
    500: '#ecd77f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd77f;
$custom-light: #f4e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd77f",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 127
  },
  "hsl": {
    "h": 48.44,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87778,
    "c": 0.11105,
    "h": 96.3
  },
  "luminance": 0.67966
}

Semantic roles & 50–950 ramp

primary
#ECD77F
secondary
#4A62C6
accent
#36D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD77F

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

Preview Lab → · Contrast checker → · Palette generator →

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