#ECC38F#ECC38F

#ECC38F is a very light, moderate orange. Relative luminance 0.588; OKLCH L 84.1% C 0.082 H 72.9°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#ECC38F
RGBrgb(236, 195, 143)
HSLhsl(34, 71%, 74%)
HSVhsv(34, 39%, 93%)
CMYKcmyk(0%, 17.4%, 39.4%, 7.5%)
CIE-LABlab(81.21, 7.68, 31.61)
CIE-LCHlch(81.21, 32.53, 76.34°)
OKLaboklab(84.09% 0.0241 0.0785)
OKLCHoklch(84.09% 0.082 72.9)
XYZxyz(59.0668, 58.8491, 34.2290)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC38F #8FB8EC
analogous
#EC958F #ECC38F #E7EC8F
triadic
#ECC38F #8FECC3 #C38FEC
tetradic
#ECC38F #8FEC95 #8FB8EC #EC8FE7
square
#ECC38F #8FEC95 #8FB8EC #EC8FE7
split-complementary
#ECC38F #8FE7EC #958FEC
monochromatic
#DA8B26 #E3A75B #ECC38F #F5DFC3 #FBF1E5

Accessibility & contrast

On white

1.64
#ECC38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#ECC38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC38F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC38F#FFFFFF#000000##000000
##ECC38F1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C48B
Deuteranopia (green-blind)
#DCCE90
Tritanopia (blue-blind)
#FBB9B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc38f;
/* rgb */ color: rgb(236, 195, 143);
/* oklch */ color: oklch(84.1% 0.082 72.9);
Tailwind
colors: {
  custom: {
    50: '#f4d5b0',
    500: '#ecc38f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc38f;
$custom-light: #f4d5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc38f",
  "rgb": {
    "r": 236,
    "g": 195,
    "b": 143
  },
  "hsl": {
    "h": 33.548,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.8409,
    "c": 0.08214,
    "h": 72.9
  },
  "luminance": 0.58846
}

Semantic roles & 50–950 ramp

primary
#ECC38F
secondary
#5889C7
accent
#67D312
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC38F

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

Preview Lab → · Contrast checker → · Palette generator →

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