#ECCF8A#ECCF8A

#ECCF8A is a very light, moderate orange. Relative luminance 0.643; OKLCH L 86.4% C 0.093 H 87.6°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#ECCF8A
RGBrgb(236, 207, 138)
HSLhsl(42, 72%, 73%)
HSVhsv(42, 42%, 93%)
CMYKcmyk(0%, 12.3%, 41.5%, 7.5%)
CIE-LABlab(84.12, 0.90, 37.99)
CIE-LCHlch(84.12, 38.00, 88.64°)
OKLaboklab(86.35% 0.0039 0.0932)
OKLCHoklch(86.35% 0.093 87.6)
XYZxyz(61.4940, 64.2960, 33.2110)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF8A #8AA7EC
analogous
#EC9E8A #ECCF8A #D8EC8A
triadic
#ECCF8A #8AECCF #CF8AEC
tetradic
#ECCF8A #8AEC9E #8AA7EC #EC8AD8
square
#ECCF8A #8AEC9E #8AA7EC #EC8AD8
split-complementary
#ECCF8A #8AD8EC #9E8AEC
monochromatic
#D8A323 #E3B955 #ECCF8A #F5E5BF #FBF4E5

Accessibility & contrast

On white

1.52
#ECCF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#ECCF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF8A
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF8A#FFFFFF#000000##000000
##ECCF8A1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD85
Deuteranopia (green-blind)
#E5D58C
Tritanopia (blue-blind)
#FAC4BE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #eccf8a;
/* rgb */ color: rgb(236, 207, 138);
/* oklch */ color: oklch(86.4% 0.093 87.6);
Tailwind
colors: {
  custom: {
    50: '#f4ddad',
    500: '#eccf8a',
    950: '#000000',
  },
}
SCSS
$custom: #eccf8a;
$custom-light: #f4ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf8a",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 42.245,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86351,
    "c": 0.09323,
    "h": 87.6
  },
  "luminance": 0.64293
}

Semantic roles & 50–950 ramp

primary
#ECCF8A
secondary
#5476C7
accent
#4BD411
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECCF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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