#ECC95C#ECC95C

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

Color values

HEX#ECC95C
RGBrgb(236, 201, 92)
HSLhsl(45, 79%, 64%)
HSVhsv(45, 61%, 93%)
CMYKcmyk(0%, 14.8%, 61%, 7.5%)
CIE-LABlab(82.05, 0.05, 57.77)
CIE-LCHlch(82.05, 57.77, 89.95°)
OKLaboklab(84.53% -0.0035 0.133)
OKLCHoklch(84.53% 0.133 91.5)
XYZxyz(57.4131, 60.3819, 18.7539)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC95C #5C7FEC
analogous
#EC815C #ECC95C #C7EC5C
triadic
#ECC95C #5CECC9 #C95CEC
tetradic
#ECC95C #5CEC81 #5C7FEC #EC5CC7
square
#ECC95C #5CEC81 #5C7FEC #EC5CC7
split-complementary
#ECC95C #5CC7EC #815CEC
monochromatic
#B89115 #E6B725 #ECC95C #F2DB93 #F9EDCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC95C#FFFFFF#000000##000000
##ECC95C1.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)
#DDC650
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#FEBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc95c;
/* rgb */ color: rgb(236, 201, 92);
/* oklch */ color: oklch(84.5% 0.133 91.5);
Tailwind
colors: {
  custom: {
    50: '#f5d98e',
    500: '#ecc95c',
    950: '#000000',
  },
}
SCSS
$custom: #ecc95c;
$custom-light: #f5d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc95c",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 92
  },
  "hsl": {
    "h": 45.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84533,
    "c": 0.13304,
    "h": 91.5
  },
  "luminance": 0.60379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECC95C

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

Preview Lab → · Contrast checker → · Palette generator →

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