#ECD95E#ECD95E

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

Color values

HEX#ECD95E
RGBrgb(236, 217, 94)
HSLhsl(52, 79%, 65%)
HSVhsv(52, 60%, 93%)
CMYKcmyk(0%, 8.1%, 60.2%, 7.5%)
CIE-LABlab(86.14, -7.97, 61.42)
CIE-LCHlch(86.14, 61.94, 97.39°)
OKLaboklab(87.78% -0.0263 0.1411)
OKLCHoklch(87.78% 0.143 100.6)
XYZxyz(61.4277, 68.2692, 20.5291)
Luminance0.6827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD95E #5E71EC
analogous
#EC925E #ECD95E #B8EC5E
triadic
#ECD95E #5EECD9 #D95EEC
tetradic
#ECD95E #5EEC92 #5E71EC #EC5EB8
square
#ECD95E #5EEC92 #5E71EC #EC5EB8
split-complementary
#ECD95E #5EB8EC #925EEC
monochromatic
#BAA416 #E6CC27 #ECD95E #F2E695 #F9F3CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD95E#FFFFFF#000000##000000
##ECD95E1.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)
#ECD350
Deuteranopia (green-blind)
#F1DB64
Tritanopia (blue-blind)
#FDCBBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd95e;
/* rgb */ color: rgb(236, 217, 94);
/* oklch */ color: oklch(87.8% 0.143 100.6);
Tailwind
colors: {
  custom: {
    50: '#f5e490',
    500: '#ecd95e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd95e;
$custom-light: #f5e490;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd95e",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 51.972,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8778,
    "c": 0.14349,
    "h": 100.6
  },
  "luminance": 0.68267
}

Semantic roles & 50–950 ramp

primary
#ECD95E
secondary
#3547B9
accent
#26DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD95E

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

Preview Lab → · Contrast checker → · Palette generator →

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