#ECD77B#ECD77B

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

Color values

HEX#ECD77B
RGBrgb(236, 215, 123)
HSLhsl(49, 75%, 70%)
HSVhsv(49, 48%, 93%)
CMYKcmyk(0%, 8.9%, 47.9%, 7.5%)
CIE-LABlab(85.94, -4.67, 47.76)
CIE-LCHlch(85.94, 47.98, 95.59°)
OKLaboklab(87.72% -0.0137 0.1143)
OKLCHoklch(87.72% 0.115 96.8)
XYZxyz(62.4695, 67.8662, 28.5439)
Luminance0.6786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD77B #7B90EC
analogous
#EC9F7B #ECD77B #C8EC7B
triadic
#ECD77B #7BECD7 #D77BEC
tetradic
#ECD77B #7BEC9F #7B90EC #EC7BC8
square
#ECD77B #7BEC9F #7B90EC #EC7BC8
split-complementary
#ECD77B #7BC8EC #9F7BEC
monochromatic
#CFAE1E #E4C746 #ECD77B #F4E7B0 #FBF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD77B#FFFFFF#000000##000000
##ECD77B1.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)
#E7D373
Deuteranopia (green-blind)
#EDDA7F
Tritanopia (blue-blind)
#FBCBC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd77b;
/* rgb */ color: rgb(236, 215, 123);
/* oklch */ color: oklch(87.7% 0.115 96.8);
Tailwind
colors: {
  custom: {
    50: '#f4e3a3',
    500: '#ecd77b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd77b;
$custom-light: #f4e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd77b",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 48.85,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87721,
    "c": 0.11514,
    "h": 96.8
  },
  "luminance": 0.67864
}

Semantic roles & 50–950 ramp

primary
#ECD77B
secondary
#465EC5
accent
#34D70F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD77B

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

Preview Lab → · Contrast checker → · Palette generator →

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