#ECC970#ECC970

#ECC970 is a very light, moderate orange. Relative luminance 0.608; OKLCH L 84.8% C 0.115 H 88.4°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#ECC970
RGBrgb(236, 201, 112)
HSLhsl(43, 77%, 68%)
HSVhsv(43, 53%, 93%)
CMYKcmyk(0%, 14.8%, 52.5%, 7.5%)
CIE-LABlab(82.26, 1.55, 48.63)
CIE-LCHlch(82.26, 48.66, 88.17°)
OKLaboklab(84.77% 0.0032 0.1154)
OKLCHoklch(84.77% 0.115 88.4)
XYZxyz(58.4057, 60.7789, 23.9812)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC970 #7093EC
analogous
#EC8B70 #ECC970 #D1EC70
triadic
#ECC970 #70ECC9 #C970EC
tetradic
#ECC970 #70EC8B #7093EC #EC70D1
square
#ECC970 #70EC8B #7093EC #EC70D1
split-complementary
#ECC970 #70D1EC #8B70EC
monochromatic
#C7961A #E5B53A #ECC970 #F3DDA6 #FAF2DC

Accessibility & contrast

On white

1.60
#ECC970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#ECC970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC970
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC970#FFFFFF#000000##000000
##ECC9701.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC768
Deuteranopia (green-blind)
#E4D173
Tritanopia (blue-blind)
#FDBCB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecc970;
/* rgb */ color: rgb(236, 201, 112);
/* oklch */ color: oklch(84.8% 0.115 88.4);
Tailwind
colors: {
  custom: {
    50: '#f5d99b',
    500: '#ecc970',
    950: '#000000',
  },
}
SCSS
$custom: #ecc970;
$custom-light: #f5d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc970",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 43.065,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.84772,
    "c": 0.11542,
    "h": 88.4
  },
  "luminance": 0.60776
}

Semantic roles & 50–950 ramp

primary
#ECC970
secondary
#3C62C4
accent
#46D90D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC970

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

Preview Lab → · Contrast checker → · Palette generator →

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