#ECC771#ECC771

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

Color values

HEX#ECC771
RGBrgb(236, 199, 113)
HSLhsl(42, 76%, 68%)
HSVhsv(42, 52%, 93%)
CMYKcmyk(0%, 15.7%, 52.1%, 7.5%)
CIE-LABlab(81.77, 2.67, 47.55)
CIE-LCHlch(81.77, 47.63, 86.78°)
OKLaboklab(84.39% 0.0066 0.1131)
OKLCHoklch(84.39% 0.113 86.7)
XYZxyz(57.9985, 59.8749, 24.1217)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC771 #7196EC
analogous
#EC8971 #ECC771 #D4EC71
triadic
#ECC771 #71ECC7 #C771EC
tetradic
#ECC771 #71EC89 #7196EC #EC71D4
square
#ECC771 #71EC89 #7196EC #EC71D4
split-complementary
#ECC771 #71D4EC #8971EC
monochromatic
#C8941B #E5B23B #ECC771 #F3DCA7 #FAF2DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC771#FFFFFF#000000##000000
##ECC7711.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)
#D9C56A
Deuteranopia (green-blind)
#E2CF74
Tritanopia (blue-blind)
#FDBAB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ecc771;
/* rgb */ color: rgb(236, 199, 113);
/* oklch */ color: oklch(84.4% 0.113 86.7);
Tailwind
colors: {
  custom: {
    50: '#f5d79b',
    500: '#ecc771',
    950: '#000000',
  },
}
SCSS
$custom: #ecc771;
$custom-light: #f5d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc771",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 113
  },
  "hsl": {
    "h": 41.951,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8439,
    "c": 0.11327,
    "h": 86.7
  },
  "luminance": 0.59872
}

Semantic roles & 50–950 ramp

primary
#ECC771
secondary
#3D66C4
accent
#4AD90D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC771

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

Preview Lab → · Contrast checker → · Palette generator →

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