#ECD95A#ECD95A

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

Color values

HEX#ECD95A
RGBrgb(236, 217, 90)
HSLhsl(52, 79%, 64%)
HSVhsv(52, 62%, 93%)
CMYKcmyk(0%, 8.1%, 61.9%, 7.5%)
CIE-LABlab(86.11, -8.23, 63.10)
CIE-LCHlch(86.11, 63.64, 97.43°)
OKLaboklab(87.74% -0.0275 0.1441)
OKLCHoklch(87.74% 0.147 100.8)
XYZxyz(61.2528, 68.1993, 19.6082)
Luminance0.6820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD95A #5A6DEC
analogous
#EC905A #ECD95A #B6EC5A
triadic
#ECD95A #5AECD9 #D95AEC
tetradic
#ECD95A #5AEC90 #5A6DEC #EC5AB6
square
#ECD95A #5AEC90 #5A6DEC #EC5AB6
split-complementary
#ECD95A #5AB6EC #905AEC
monochromatic
#B7A215 #E6CC23 #ECD95A #F2E691 #F9F2C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD95A#FFFFFF#000000##000000
##ECD95A1.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)
#ECD34B
Deuteranopia (green-blind)
#F1DB61
Tritanopia (blue-blind)
#FDCBBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd95a;
/* rgb */ color: rgb(236, 217, 90);
/* oklch */ color: oklch(87.7% 0.147 100.8);
Tailwind
colors: {
  custom: {
    50: '#f5e48e',
    500: '#ecd95a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd95a;
$custom-light: #f5e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd95a",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 52.192,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87741,
    "c": 0.14668,
    "h": 100.8
  },
  "luminance": 0.68197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD95A

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

Preview Lab → · Contrast checker → · Palette generator →

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