#ECC671#ECC671

#ECC671 is a very light, moderate orange. Relative luminance 0.594; OKLCH L 84.2% C 0.113 H 85.9°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#ECC671
RGBrgb(236, 198, 113)
HSLhsl(41, 76%, 68%)
HSVhsv(41, 52%, 93%)
CMYKcmyk(0%, 16.1%, 52.1%, 7.5%)
CIE-LABlab(81.52, 3.19, 47.25)
CIE-LCHlch(81.52, 47.36, 86.14°)
OKLaboklab(84.19% 0.0081 0.1124)
OKLCHoklch(84.19% 0.113 85.9)
XYZxyz(57.7691, 59.4163, 24.0452)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC671 #7197EC
analogous
#EC8871 #ECC671 #D5EC71
triadic
#ECC671 #71ECC6 #C671EC
tetradic
#ECC671 #71EC88 #7197EC #EC71D5
square
#ECC671 #71EC88 #7197EC #EC71D5
split-complementary
#ECC671 #71D5EC #8871EC
monochromatic
#C8921B #E5B03B #ECC671 #F3DCA7 #FAF1DD

Accessibility & contrast

On white

1.63
#ECC671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#ECC671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC671
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC671#FFFFFF#000000##000000
##ECC6711.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56A
Deuteranopia (green-blind)
#E1CF74
Tritanopia (blue-blind)
#FDB9B2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ecc671;
/* rgb */ color: rgb(236, 198, 113);
/* oklch */ color: oklch(84.2% 0.113 85.9);
Tailwind
colors: {
  custom: {
    50: '#f5d79b',
    500: '#ecc671',
    950: '#000000',
  },
}
SCSS
$custom: #ecc671;
$custom-light: #f5d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc671",
  "rgb": {
    "r": 236,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 41.463,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.84193,
    "c": 0.1127,
    "h": 85.9
  },
  "luminance": 0.59413
}

Semantic roles & 50–950 ramp

primary
#ECC671
secondary
#3D67C4
accent
#4CD90D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC671

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

Preview Lab → · Contrast checker → · Palette generator →

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