#ECCC8E#ECCC8E

#ECCC8E is a very light, moderate orange. Relative luminance 0.630; OKLCH L 85.8% C 0.087 H 83.4°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#ECCC8E
RGBrgb(236, 204, 142)
HSLhsl(40, 71%, 74%)
HSVhsv(40, 40%, 93%)
CMYKcmyk(0%, 13.6%, 39.8%, 7.5%)
CIE-LABlab(83.43, 2.88, 35.05)
CIE-LCHlch(83.43, 35.17, 85.31°)
OKLaboklab(85.83% 0.01 0.0865)
OKLCHoklch(85.83% 0.087 83.4)
XYZxyz(61.0690, 62.9741, 34.5244)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC8E #8EAEEC
analogous
#EC9D8E #ECCC8E #DDEC8E
triadic
#ECCC8E #8EECCC #CC8EEC
tetradic
#ECCC8E #8EEC9D #8EAEEC #EC8EDD
square
#ECCC8E #8EEC9D #8EAEEC #EC8EDD
split-complementary
#ECCC8E #8EDDEC #9D8EEC
monochromatic
#DA9D25 #E3B45A #ECCC8E #F5E4C2 #FBF3E5

Accessibility & contrast

On white

1.54
#ECCC8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#ECCC8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCC8E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCC8E#FFFFFF#000000##000000
##ECCC8E1.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCB8A
Deuteranopia (green-blind)
#E3D390
Tritanopia (blue-blind)
#FAC1BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccc8e;
/* rgb */ color: rgb(236, 204, 142);
/* oklch */ color: oklch(85.8% 0.087 83.4);
Tailwind
colors: {
  custom: {
    50: '#f3dbaf',
    500: '#eccc8e',
    950: '#000000',
  },
}
SCSS
$custom: #eccc8e;
$custom-light: #f3dbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc8e",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 142
  },
  "hsl": {
    "h": 39.574,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.85828,
    "c": 0.08708,
    "h": 83.4
  },
  "luminance": 0.62972
}

Semantic roles & 50–950 ramp

primary
#ECCC8E
secondary
#577DC7
accent
#54D312
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECCC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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