#ECC97F#ECC97F

#ECC97F is a very light, moderate orange. Relative luminance 0.611; OKLCH L 85.0% C 0.101 H 85.0°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#ECC97F
RGBrgb(236, 201, 127)
HSLhsl(41, 74%, 71%)
HSVhsv(41, 46%, 93%)
CMYKcmyk(0%, 14.8%, 46.2%, 7.5%)
CIE-LABlab(82.45, 2.90, 41.44)
CIE-LCHlch(82.45, 41.54, 86.00°)
OKLaboklab(84.99% 0.0087 0.1004)
OKLCHoklch(84.99% 0.101 85)
XYZxyz(59.3115, 61.1413, 28.7518)
Luminance0.6114 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC97F #7FA2EC
analogous
#EC927F #ECC97F #D8EC7F
triadic
#ECC97F #7FECC9 #C97FEC
tetradic
#ECC97F #7FEC92 #7FA2EC #EC7FD8
square
#ECC97F #7FEC92 #7FA2EC #EC7FD8
split-complementary
#ECC97F #7FD8EC #927FEC
monochromatic
#D2981F #E4B34A #ECC97F #F4DFB4 #FBF4E4

Accessibility & contrast

On white

1.59
#ECC97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#ECC97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC97F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC97F#FFFFFF#000000##000000
##ECC97F1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC879
Deuteranopia (green-blind)
#E2D181
Tritanopia (blue-blind)
#FCBDB7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecc97f;
/* rgb */ color: rgb(236, 201, 127);
/* oklch */ color: oklch(85.0% 0.101 85.0);
Tailwind
colors: {
  custom: {
    50: '#f4d9a5',
    500: '#ecc97f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc97f;
$custom-light: #f4d9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc97f",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 40.734,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.84988,
    "c": 0.10081,
    "h": 85
  },
  "luminance": 0.61138
}

Semantic roles & 50–950 ramp

primary
#ECC97F
secondary
#4A71C6
accent
#4FD60F
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC97F

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

Preview Lab → · Contrast checker → · Palette generator →

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