#ECCD97#ECCD97

#ECCD97 is a very light, moderate orange. Relative luminance 0.637; OKLCH L 86.2% C 0.078 H 81.2°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#ECCD97
RGBrgb(236, 205, 151)
HSLhsl(38, 69%, 76%)
HSVhsv(38, 36%, 93%)
CMYKcmyk(0%, 13.1%, 36%, 7.5%)
CIE-LABlab(83.83, 3.37, 30.92)
CIE-LCHlch(83.83, 31.11, 83.78°)
OKLaboklab(86.19% 0.012 0.0772)
OKLCHoklch(86.19% 0.078 81.2)
XYZxyz(62.0106, 63.7323, 38.3073)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD97 #97B6EC
analogous
#ECA297 #ECCD97 #E0EC97
triadic
#ECCD97 #97ECCD #CD97EC
tetradic
#ECCD97 #97ECA2 #97B6EC #EC97E0
square
#ECCD97 #97ECA2 #97B6EC #EC97E0
split-complementary
#ECCD97 #97E0EC #A297EC
monochromatic
#D99B30 #E3B463 #ECCD97 #F5E6CB #FAF3E5

Accessibility & contrast

On white

1.53
#ECCD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#ECCD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD97
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD97#FFFFFF#000000##000000
##ECCD971.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCC93
Deuteranopia (green-blind)
#E2D498
Tritanopia (blue-blind)
#F9C3BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eccd97;
/* rgb */ color: rgb(236, 205, 151);
/* oklch */ color: oklch(86.2% 0.078 81.2);
Tailwind
colors: {
  custom: {
    50: '#f3dcb6',
    500: '#eccd97',
    950: '#000000',
  },
}
SCSS
$custom: #eccd97;
$custom-light: #f3dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd97",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 38.118,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.86188,
    "c": 0.07807,
    "h": 81.2
  },
  "luminance": 0.6373
}

Semantic roles & 50–950 ramp

primary
#ECCD97
secondary
#6086C8
accent
#59D114
background
#FFFEFD
surface
#FEFBF8
border
#D6D4D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECCD97

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

Preview Lab → · Contrast checker → · Palette generator →

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