#ECC28F#ECC28F

#ECC28F is a very light, moderate orange. Relative luminance 0.584; OKLCH L 83.9% C 0.082 H 71.8°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#ECC28F
RGBrgb(236, 194, 143)
HSLhsl(33, 71%, 74%)
HSVhsv(33, 39%, 93%)
CMYKcmyk(0%, 17.8%, 39.4%, 7.5%)
CIE-LABlab(80.96, 8.20, 31.28)
CIE-LCHlch(80.96, 32.34, 75.30°)
OKLaboklab(83.9% 0.0256 0.0778)
OKLCHoklch(83.9% 0.082 71.8)
XYZxyz(58.8435, 58.4025, 34.1546)
Luminance0.5840 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC28F #8FB9EC
analogous
#EC948F #ECC28F #E8EC8F
triadic
#ECC28F #8FECC2 #C28FEC
tetradic
#ECC28F #8FEC94 #8FB9EC #EC8FE8
square
#ECC28F #8FEC94 #8FB9EC #EC8FE8
split-complementary
#ECC28F #8FE8EC #948FEC
monochromatic
#DA8926 #E3A65B #ECC28F #F5DEC3 #FBF1E5

Accessibility & contrast

On white

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

On black

12.68
#ECC28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC28F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC28F#FFFFFF#000000##000000
##ECC28F1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C38B
Deuteranopia (green-blind)
#DBCD90
Tritanopia (blue-blind)
#FBB8B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc28f;
/* rgb */ color: rgb(236, 194, 143);
/* oklch */ color: oklch(83.9% 0.082 71.8);
Tailwind
colors: {
  custom: {
    50: '#f4d4b0',
    500: '#ecc28f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc28f;
$custom-light: #f4d4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc28f",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 143
  },
  "hsl": {
    "h": 32.903,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.83897,
    "c": 0.08187,
    "h": 71.8
  },
  "luminance": 0.584
}

Semantic roles & 50–950 ramp

primary
#ECC28F
secondary
#588AC7
accent
#69D312
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC28F

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

Preview Lab → · Contrast checker → · Palette generator →

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