#ECD95B#ECD95B

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

Color values

HEX#ECD95B
RGBrgb(236, 217, 91)
HSLhsl(52, 79%, 64%)
HSVhsv(52, 61%, 93%)
CMYKcmyk(0%, 8.1%, 61.4%, 7.5%)
CIE-LABlab(86.11, -8.17, 62.69)
CIE-LCHlch(86.11, 63.22, 97.42°)
OKLaboklab(87.75% -0.0272 0.1433)
OKLCHoklch(87.75% 0.146 100.8)
XYZxyz(61.2957, 68.2164, 19.8339)
Luminance0.6821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD95B #5B6EEC
analogous
#EC915B #ECD95B #B7EC5B
triadic
#ECD95B #5BECD9 #D95BEC
tetradic
#ECD95B #5BEC91 #5B6EEC #EC5BB7
square
#ECD95B #5BEC91 #5B6EEC #EC5BB7
split-complementary
#ECD95B #5BB7EC #915BEC
monochromatic
#B7A215 #E6CC24 #ECD95B #F2E692 #F9F2C9

Accessibility & contrast

On white

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

On black

14.64
#ECD95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD95B
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD95B#FFFFFF#000000##000000
##ECD95B1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd95b;
/* rgb */ color: rgb(236, 217, 91);
/* oklch */ color: oklch(87.8% 0.146 100.8);
Tailwind
colors: {
  custom: {
    50: '#f5e48e',
    500: '#ecd95b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd95b;
$custom-light: #f5e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd95b",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 52.138,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87751,
    "c": 0.1459,
    "h": 100.8
  },
  "luminance": 0.68214
}

Semantic roles & 50–950 ramp

primary
#ECD95B
secondary
#3445B7
accent
#25DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD95B

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

Preview Lab → · Contrast checker → · Palette generator →

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