#ECC271#ECC271

#ECC271 is a very light, moderate orange. Relative luminance 0.576; OKLCH L 83.4% C 0.111 H 82.6°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#ECC271
RGBrgb(236, 194, 113)
HSLhsl(40, 76%, 68%)
HSVhsv(40, 52%, 93%)
CMYKcmyk(0%, 17.8%, 52.1%, 7.5%)
CIE-LABlab(80.52, 5.27, 46.04)
CIE-LCHlch(80.52, 46.34, 83.47°)
OKLaboklab(83.41% 0.0142 0.1097)
OKLCHoklch(83.41% 0.111 82.6)
XYZxyz(56.8669, 57.6118, 23.7445)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC271 #719BEC
analogous
#EC8471 #ECC271 #D9EC71
triadic
#ECC271 #71ECC2 #C271EC
tetradic
#ECC271 #71EC84 #719BEC #EC71D9
square
#ECC271 #71EC84 #719BEC #EC71D9
split-complementary
#ECC271 #71D9EC #8471EC
monochromatic
#C88D1B #E5AB3B #ECC271 #F3D9A7 #FAF0DD

Accessibility & contrast

On white

1.68
#ECC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#ECC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC271
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC271#FFFFFF#000000##000000
##ECC2711.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C26A
Deuteranopia (green-blind)
#DFCC74
Tritanopia (blue-blind)
#FDB5AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ecc271;
/* rgb */ color: rgb(236, 194, 113);
/* oklch */ color: oklch(83.4% 0.111 82.6);
Tailwind
colors: {
  custom: {
    50: '#f5d49b',
    500: '#ecc271',
    950: '#000000',
  },
}
SCSS
$custom: #ecc271;
$custom-light: #f5d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc271",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 39.512,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83409,
    "c": 0.11064,
    "h": 82.6
  },
  "luminance": 0.57609
}

Semantic roles & 50–950 ramp

primary
#ECC271
secondary
#3D6BC4
accent
#52D90D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC271

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

Preview Lab → · Contrast checker → · Palette generator →

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