#ECD94B#ECD94B

#ECD94B is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.6% C 0.158 H 101.6°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#ECD94B
RGBrgb(236, 217, 75)
HSLhsl(53, 81%, 61%)
HSVhsv(53, 68%, 93%)
CMYKcmyk(0%, 8.1%, 68.2%, 7.5%)
CIE-LABlab(85.99, -9.09, 69.05)
CIE-LCHlch(85.99, 69.65, 97.50°)
OKLaboklab(87.61% -0.0316 0.1544)
OKLCHoklch(87.61% 0.158 101.6)
XYZxyz(60.6776, 67.9692, 16.5785)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD94B #4B5EEC
analogous
#EC884B #ECD94B #AEEC4B
triadic
#ECD94B #4BECD9 #D94BEC
tetradic
#ECD94B #4BEC88 #4B5EEC #EC4BAE
square
#ECD94B #4BEC88 #4B5EEC #EC4BAE
split-complementary
#ECD94B #4BAEEC #884BEC
monochromatic
#AB9912 #E2CA18 #ECD94B #F2E582 #F8F0BA

Accessibility & contrast

On white

1.44
#ECD94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#ECD94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD94B
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD94B#FFFFFF#000000##000000
##ECD94B1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD336
Deuteranopia (green-blind)
#F2DB54
Tritanopia (blue-blind)
#FECABC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd94b;
/* rgb */ color: rgb(236, 217, 75);
/* oklch */ color: oklch(87.6% 0.158 101.6);
Tailwind
colors: {
  custom: {
    50: '#f6e485',
    500: '#ecd94b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd94b;
$custom-light: #f6e485;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd94b",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 75
  },
  "hsl": {
    "h": 52.919,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87613,
    "c": 0.15757,
    "h": 101.6
  },
  "luminance": 0.67967
}

Semantic roles & 50–950 ramp

primary
#ECD94B
secondary
#303EAC
accent
#21DD08
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD94B

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

Preview Lab → · Contrast checker → · Palette generator →

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