#ECD76F#ECD76F

#ECD76F is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.6% C 0.127 H 98.1°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#ECD76F
RGBrgb(236, 215, 111)
HSLhsl(50, 77%, 68%)
HSVhsv(50, 53%, 93%)
CMYKcmyk(0%, 8.9%, 53%, 7.5%)
CIE-LABlab(85.80, -5.70, 53.33)
CIE-LCHlch(85.80, 53.63, 96.10°)
OKLaboklab(87.56% -0.0179 0.1256)
OKLCHoklch(87.56% 0.127 98.1)
XYZxyz(61.7639, 67.5839, 24.8274)
Luminance0.6758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD76F #6F84EC
analogous
#EC986F #ECD76F #C2EC6F
triadic
#ECD76F #6FECD7 #D76FEC
tetradic
#ECD76F #6FEC98 #6F84EC #EC6FC2
square
#ECD76F #6FEC98 #6F84EC #EC6FC2
split-complementary
#ECD76F #6FC2EC #986FEC
monochromatic
#C6A91A #E5C839 #ECD76F #F3E6A5 #FAF5DB

Accessibility & contrast

On white

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

On black

14.52
#ECD76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD76F
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD76F#FFFFFF#000000##000000
##ECD76F1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd76f;
/* rgb */ color: rgb(236, 215, 111);
/* oklch */ color: oklch(87.6% 0.127 98.1);
Tailwind
colors: {
  custom: {
    50: '#f5e39b',
    500: '#ecd76f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd76f;
$custom-light: #f5e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd76f",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 111
  },
  "hsl": {
    "h": 49.92,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87563,
    "c": 0.12683,
    "h": 98.1
  },
  "luminance": 0.67581
}

Semantic roles & 50–950 ramp

primary
#ECD76F
secondary
#3B52C4
accent
#2FD90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD76F

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

Preview Lab → · Contrast checker → · Palette generator →

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