#ECC28C#ECC28C

#ECC28C is a very light, moderate orange. Relative luminance 0.583; OKLCH L 83.8% C 0.085 H 73.2°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#ECC28C
RGBrgb(236, 194, 140)
HSLhsl(34, 72%, 74%)
HSVhsv(34, 41%, 93%)
CMYKcmyk(0%, 17.8%, 40.7%, 7.5%)
CIE-LABlab(80.91, 7.88, 32.78)
CIE-LCHlch(80.91, 33.72, 76.49°)
OKLaboklab(83.84% 0.0244 0.0812)
OKLCHoklch(83.84% 0.085 73.2)
XYZxyz(58.6193, 58.3128, 32.9737)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC28C #8CB6EC
analogous
#EC928C #ECC28C #E6EC8C
triadic
#ECC28C #8CECC2 #C28CEC
tetradic
#ECC28C #8CEC92 #8CB6EC #EC8CE6
square
#ECC28C #8CEC92 #8CB6EC #EC8CE6
split-complementary
#ECC28C #8CE6EC #928CEC
monochromatic
#DA8A24 #E3A657 #ECC28C #F5DEC1 #FBF1E5

Accessibility & contrast

On white

1.66
#ECC28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#ECC28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC28C
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC28C#FFFFFF#000000##000000
##ECC28C1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C388
Deuteranopia (green-blind)
#DCCD8D
Tritanopia (blue-blind)
#FBB7B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc28c;
/* rgb */ color: rgb(236, 194, 140);
/* oklch */ color: oklch(83.8% 0.085 73.2);
Tailwind
colors: {
  custom: {
    50: '#f4d4ae',
    500: '#ecc28c',
    950: '#000000',
  },
}
SCSS
$custom: #ecc28c;
$custom-light: #f4d4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc28c",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 140
  },
  "hsl": {
    "h": 33.75,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.83841,
    "c": 0.08477,
    "h": 73.2
  },
  "luminance": 0.5831
}

Semantic roles & 50–950 ramp

primary
#ECC28C
secondary
#5587C7
accent
#67D412
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC28C

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

Preview Lab → · Contrast checker → · Palette generator →

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