#ECD95D#ECD95D

#ECD95D is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.8% C 0.144 H 100.6°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#ECD95D
RGBrgb(236, 217, 93)
HSLhsl(52, 79%, 65%)
HSVhsv(52, 61%, 93%)
CMYKcmyk(0%, 8.1%, 60.6%, 7.5%)
CIE-LABlab(86.13, -8.04, 61.85)
CIE-LCHlch(86.13, 62.37, 97.40°)
OKLaboklab(87.77% -0.0266 0.1418)
OKLCHoklch(87.77% 0.144 100.6)
XYZxyz(61.3831, 68.2514, 20.2943)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD95D #5D70EC
analogous
#EC925D #ECD95D #B8EC5D
triadic
#ECD95D #5DECD9 #D95DEC
tetradic
#ECD95D #5DEC92 #5D70EC #EC5DB8
square
#ECD95D #5DEC92 #5D70EC #EC5DB8
split-complementary
#ECD95D #5DB8EC #925DEC
monochromatic
#B9A316 #E6CC26 #ECD95D #F2E694 #F9F3CB

Accessibility & contrast

On white

1.43
#ECD95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#ECD95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD95D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD95D#FFFFFF#000000##000000
##ECD95D1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34F
Deuteranopia (green-blind)
#F1DB63
Tritanopia (blue-blind)
#FDCBBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd95d;
/* rgb */ color: rgb(236, 217, 93);
/* oklch */ color: oklch(87.8% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#f5e490',
    500: '#ecd95d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd95d;
$custom-light: #f5e490;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd95d",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 52.028,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8777,
    "c": 0.1443,
    "h": 100.6
  },
  "luminance": 0.68249
}

Semantic roles & 50–950 ramp

primary
#ECD95D
secondary
#3546B8
accent
#26DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD95D

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

Preview Lab → · Contrast checker → · Palette generator →

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