#ECC28B#ECC28B

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

Color values

HEX#ECC28B
RGBrgb(236, 194, 139)
HSLhsl(34, 72%, 74%)
HSVhsv(34, 41%, 93%)
CMYKcmyk(0%, 17.8%, 41.1%, 7.5%)
CIE-LABlab(80.90, 7.77, 33.28)
CIE-LCHlch(80.90, 34.18, 76.86°)
OKLaboklab(83.82% 0.024 0.0823)
OKLCHoklch(83.82% 0.086 73.7)
XYZxyz(58.5459, 58.2834, 32.5871)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC28B #8BB5EC
analogous
#EC918B #ECC28B #E5EC8B
triadic
#ECC28B #8BECC2 #C28BEC
tetradic
#ECC28B #8BEC91 #8BB5EC #EC8BE5
square
#ECC28B #8BEC91 #8BB5EC #EC8BE5
split-complementary
#ECC28B #8BE5EC #918BEC
monochromatic
#D98A24 #E3A656 #ECC28B #F5DEC0 #FBF1E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC28B#FFFFFF#000000##000000
##ECC28B1.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)
#D2C387
Deuteranopia (green-blind)
#DCCD8C
Tritanopia (blue-blind)
#FBB7B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc28b;
/* rgb */ color: rgb(236, 194, 139);
/* oklch */ color: oklch(83.8% 0.086 73.7);
Tailwind
colors: {
  custom: {
    50: '#f4d4ad',
    500: '#ecc28b',
    950: '#000000',
  },
}
SCSS
$custom: #ecc28b;
$custom-light: #f4d4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc28b",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 139
  },
  "hsl": {
    "h": 34.021,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.83823,
    "c": 0.08573,
    "h": 73.7
  },
  "luminance": 0.58281
}

Semantic roles & 50–950 ramp

primary
#ECC28B
secondary
#5586C7
accent
#66D412
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC28B

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

Preview Lab → · Contrast checker → · Palette generator →

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