#ECC95D#ECC95D

#ECC95D is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.5% C 0.132 H 91.4°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#ECC95D
RGBrgb(236, 201, 93)
HSLhsl(45, 79%, 65%)
HSVhsv(45, 61%, 93%)
CMYKcmyk(0%, 14.8%, 60.6%, 7.5%)
CIE-LABlab(82.05, 0.12, 57.33)
CIE-LCHlch(82.05, 57.33, 89.88°)
OKLaboklab(84.54% -0.0032 0.1322)
OKLCHoklch(84.54% 0.132 91.4)
XYZxyz(57.4572, 60.3995, 18.9857)
Luminance0.6040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC95D #5D80EC
analogous
#EC825D #ECC95D #C7EC5D
triadic
#ECC95D #5DECC9 #C95DEC
tetradic
#ECC95D #5DEC82 #5D80EC #EC5DC7
square
#ECC95D #5DEC82 #5D80EC #EC5DC7
split-complementary
#ECC95D #5DC7EC #825DEC
monochromatic
#B99116 #E6B726 #ECC95D #F2DB94 #F9EECB

Accessibility & contrast

On white

1.61
#ECC95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#ECC95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC95D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC95D#FFFFFF#000000##000000
##ECC95D1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC652
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#FEBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc95d;
/* rgb */ color: rgb(236, 201, 93);
/* oklch */ color: oklch(84.5% 0.132 91.4);
Tailwind
colors: {
  custom: {
    50: '#f5d98f',
    500: '#ecc95d',
    950: '#000000',
  },
}
SCSS
$custom: #ecc95d;
$custom-light: #f5d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc95d",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 45.315,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84544,
    "c": 0.13222,
    "h": 91.4
  },
  "luminance": 0.60396
}

Semantic roles & 50–950 ramp

primary
#ECC95D
secondary
#3555B8
accent
#3DDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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