#ECD76B#ECD76B

#ECD76B is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.131 H 98.5°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#ECD76B
RGBrgb(236, 215, 107)
HSLhsl(50, 77%, 67%)
HSVhsv(50, 55%, 93%)
CMYKcmyk(0%, 8.9%, 54.7%, 7.5%)
CIE-LABlab(85.75, -6.02, 55.14)
CIE-LCHlch(85.75, 55.47, 96.23°)
OKLaboklab(87.52% -0.0193 0.1291)
OKLCHoklch(87.52% 0.131 98.5)
XYZxyz(61.5485, 67.4978, 23.6934)
Luminance0.6750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD76B #6B80EC
analogous
#EC976B #ECD76B #C0EC6B
triadic
#ECD76B #6BECD7 #D76BEC
tetradic
#ECD76B #6BEC97 #6B80EC #EC6BC0
square
#ECD76B #6BEC97 #6B80EC #EC6BC0
split-complementary
#ECD76B #6BC0EC #976BEC
monochromatic
#C4A819 #E5C835 #ECD76B #F3E6A1 #FAF4D7

Accessibility & contrast

On white

1.45
#ECD76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#ECD76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD76B
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD76B#FFFFFF#000000##000000
##ECD76B1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D261
Deuteranopia (green-blind)
#EFDA70
Tritanopia (blue-blind)
#FCCABF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd76b;
/* rgb */ color: rgb(236, 215, 107);
/* oklch */ color: oklch(87.5% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#f5e398',
    500: '#ecd76b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd76b;
$custom-light: #f5e398;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd76b",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 50.233,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87515,
    "c": 0.13053,
    "h": 98.5
  },
  "luminance": 0.67495
}

Semantic roles & 50–950 ramp

primary
#ECD76B
secondary
#3A50C2
accent
#2DD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD76B

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

Preview Lab → · Contrast checker → · Palette generator →

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