#ECC95F#ECC95F

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

Color values

HEX#ECC95F
RGBrgb(236, 201, 95)
HSLhsl(45, 79%, 65%)
HSVhsv(45, 60%, 93%)
CMYKcmyk(0%, 14.8%, 59.7%, 7.5%)
CIE-LABlab(82.07, 0.26, 56.44)
CIE-LCHlch(82.07, 56.44, 89.74°)
OKLaboklab(84.57% -0.0026 0.1305)
OKLCHoklch(84.57% 0.131 91.1)
XYZxyz(57.5469, 60.4354, 19.4583)
Luminance0.6043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC95F #5F82EC
analogous
#EC825F #ECC95F #C9EC5F
triadic
#ECC95F #5FECC9 #C95FEC
tetradic
#ECC95F #5FEC82 #5F82EC #EC5FC9
square
#ECC95F #5FEC82 #5F82EC #EC5FC9
split-complementary
#ECC95F #5FC9EC #825FEC
monochromatic
#BA9216 #E6B728 #ECC95F #F2DB96 #F9EECC

Accessibility & contrast

On white

1.60
#ECC95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#ECC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC95F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC95F#FFFFFF#000000##000000
##ECC95F1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#FEBBB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc95f;
/* rgb */ color: rgb(236, 201, 95);
/* oklch */ color: oklch(84.6% 0.131 91.1);
Tailwind
colors: {
  custom: {
    50: '#f5d990',
    500: '#ecc95f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc95f;
$custom-light: #f5d990;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc95f",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 45.106,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84566,
    "c": 0.13055,
    "h": 91.1
  },
  "luminance": 0.60432
}

Semantic roles & 50–950 ramp

primary
#ECC95F
secondary
#3656BA
accent
#3EDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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