#ECC95E#ECC95E

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

Color values

HEX#ECC95E
RGBrgb(236, 201, 94)
HSLhsl(45, 79%, 65%)
HSVhsv(45, 60%, 93%)
CMYKcmyk(0%, 14.8%, 60.2%, 7.5%)
CIE-LABlab(82.06, 0.19, 56.88)
CIE-LCHlch(82.06, 56.88, 89.81°)
OKLaboklab(84.56% -0.0029 0.1314)
OKLCHoklch(84.56% 0.131 91.2)
XYZxyz(57.5017, 60.4174, 19.2205)
Luminance0.6041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC95E #5E81EC
analogous
#EC825E #ECC95E #C8EC5E
triadic
#ECC95E #5EECC9 #C95EEC
tetradic
#ECC95E #5EEC82 #5E81EC #EC5EC8
square
#ECC95E #5EEC82 #5E81EC #EC5EC8
split-complementary
#ECC95E #5EC8EC #825EEC
monochromatic
#BA9116 #E6B727 #ECC95E #F2DB95 #F9EECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC95E#FFFFFF#000000##000000
##ECC95E1.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)
#DDC653
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#FEBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc95e;
/* rgb */ color: rgb(236, 201, 94);
/* oklch */ color: oklch(84.6% 0.131 91.2);
Tailwind
colors: {
  custom: {
    50: '#f5d98f',
    500: '#ecc95e',
    950: '#000000',
  },
}
SCSS
$custom: #ecc95e;
$custom-light: #f5d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc95e",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 45.211,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84555,
    "c": 0.13139,
    "h": 91.2
  },
  "luminance": 0.60414
}

Semantic roles & 50–950 ramp

primary
#ECC95E
secondary
#3556B9
accent
#3EDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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