#ECC37F#ECC37F

#ECC37F is a very light, moderate orange. Relative luminance 0.584; OKLCH L 83.8% C 0.098 H 79.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#ECC37F
RGBrgb(236, 195, 127)
HSLhsl(37, 74%, 71%)
HSVhsv(37, 46%, 93%)
CMYKcmyk(0%, 17.4%, 46.2%, 7.5%)
CIE-LABlab(80.96, 6.02, 39.54)
CIE-LCHlch(80.96, 40.00, 81.34°)
OKLaboklab(83.81% 0.0179 0.0961)
OKLCHoklch(83.81% 0.098 79.5)
XYZxyz(57.9400, 58.3984, 28.2947)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC37F #7FA8EC
analogous
#EC8C7F #ECC37F #DFEC7F
triadic
#ECC37F #7FECC3 #C37FEC
tetradic
#ECC37F #7FEC8C #7FA8EC #EC7FDF
square
#ECC37F #7FEC8C #7FA8EC #EC7FDF
split-complementary
#ECC37F #7FDFEC #8C7FEC
monochromatic
#D28E1F #E4AA4A #ECC37F #F4DCB4 #FBF3E4

Accessibility & contrast

On white

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

On black

12.68
#ECC37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC37F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC37F#FFFFFF#000000##000000
##ECC37F1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37A
Deuteranopia (green-blind)
#DECD81
Tritanopia (blue-blind)
#FCB7B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc37f;
/* rgb */ color: rgb(236, 195, 127);
/* oklch */ color: oklch(83.8% 0.098 79.5);
Tailwind
colors: {
  custom: {
    50: '#f4d5a5',
    500: '#ecc37f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc37f;
$custom-light: #f4d5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc37f",
  "rgb": {
    "r": 236,
    "g": 195,
    "b": 127
  },
  "hsl": {
    "h": 37.431,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83813,
    "c": 0.09779,
    "h": 79.5
  },
  "luminance": 0.58395
}

Semantic roles & 50–950 ramp

primary
#ECC37F
secondary
#4A78C6
accent
#5AD60F
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC37F

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

Preview Lab → · Contrast checker → · Palette generator →

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