#ECC76F#ECC76F

#ECC76F is a very light, moderate orange. Relative luminance 0.598; OKLCH L 84.4% C 0.115 H 87.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#ECC76F
RGBrgb(236, 199, 111)
HSLhsl(42, 77%, 68%)
HSVhsv(42, 53%, 93%)
CMYKcmyk(0%, 15.7%, 53%, 7.5%)
CIE-LABlab(81.75, 2.50, 48.50)
CIE-LCHlch(81.75, 48.56, 87.04°)
OKLaboklab(84.36% 0.0059 0.115)
OKLCHoklch(84.36% 0.115 87.1)
XYZxyz(57.8871, 59.8304, 23.5352)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC76F #6F94EC
analogous
#EC886F #ECC76F #D2EC6F
triadic
#ECC76F #6FECC7 #C76FEC
tetradic
#ECC76F #6FEC88 #6F94EC #EC6FD2
square
#ECC76F #6FEC88 #6F94EC #EC6FD2
split-complementary
#ECC76F #6FD2EC #886FEC
monochromatic
#C6931A #E5B239 #ECC76F #F3DCA5 #FAF1DB

Accessibility & contrast

On white

1.62
#ECC76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#ECC76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC76F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC76F#FFFFFF#000000##000000
##ECC76F1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C567
Deuteranopia (green-blind)
#E2CF72
Tritanopia (blue-blind)
#FDBAB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ecc76f;
/* rgb */ color: rgb(236, 199, 111);
/* oklch */ color: oklch(84.4% 0.115 87.1);
Tailwind
colors: {
  custom: {
    50: '#f5d79a',
    500: '#ecc76f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc76f;
$custom-light: #f5d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc76f",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 111
  },
  "hsl": {
    "h": 42.24,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84363,
    "c": 0.11515,
    "h": 87.1
  },
  "luminance": 0.59827
}

Semantic roles & 50–950 ramp

primary
#ECC76F
secondary
#3B64C4
accent
#49D90D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC76F

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

Preview Lab → · Contrast checker → · Palette generator →

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