#ECC38E#ECC38E

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

Color values

HEX#ECC38E
RGBrgb(236, 195, 142)
HSLhsl(34, 71%, 74%)
HSVhsv(34, 40%, 93%)
CMYKcmyk(0%, 17.4%, 39.8%, 7.5%)
CIE-LABlab(81.19, 7.57, 32.11)
CIE-LCHlch(81.19, 32.99, 76.73°)
OKLaboklab(84.07% 0.0237 0.0797)
OKLCHoklch(84.07% 0.083 73.4)
XYZxyz(58.9914, 58.8189, 33.8318)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC38E #8EB7EC
analogous
#EC948E #ECC38E #E6EC8E
triadic
#ECC38E #8EECC3 #C38EEC
tetradic
#ECC38E #8EEC94 #8EB7EC #EC8EE6
square
#ECC38E #8EEC94 #8EB7EC #EC8EE6
split-complementary
#ECC38E #8EE6EC #948EEC
monochromatic
#DA8B25 #E3A75A #ECC38E #F5DFC2 #FBF1E5

Accessibility & contrast

On white

1.65
#ECC38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#ECC38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC38E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC38E#FFFFFF#000000##000000
##ECC38E1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C48A
Deuteranopia (green-blind)
#DCCE8F
Tritanopia (blue-blind)
#FBB8B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc38e;
/* rgb */ color: rgb(236, 195, 142);
/* oklch */ color: oklch(84.1% 0.083 73.4);
Tailwind
colors: {
  custom: {
    50: '#f4d5af',
    500: '#ecc38e',
    950: '#000000',
  },
}
SCSS
$custom: #ecc38e;
$custom-light: #f4d5af;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc38e",
  "rgb": {
    "r": 236,
    "g": 195,
    "b": 142
  },
  "hsl": {
    "h": 33.83,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.84071,
    "c": 0.08311,
    "h": 73.4
  },
  "luminance": 0.58816
}

Semantic roles & 50–950 ramp

primary
#ECC38E
secondary
#5788C7
accent
#66D312
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC38E

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

Preview Lab → · Contrast checker → · Palette generator →

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