#ECD65A#ECD65A

#ECD65A is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.144 H 99.3°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#ECD65A
RGBrgb(236, 214, 90)
HSLhsl(51, 79%, 64%)
HSVhsv(51, 62%, 93%)
CMYKcmyk(0%, 9.3%, 61.9%, 7.5%)
CIE-LABlab(85.34, -6.72, 62.27)
CIE-LCHlch(85.34, 62.63, 96.16°)
OKLaboklab(87.13% -0.0232 0.1423)
OKLCHoklch(87.13% 0.144 99.3)
XYZxyz(60.4866, 66.6668, 19.3528)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD65A #5A70EC
analogous
#EC8D5A #ECD65A #B9EC5A
triadic
#ECD65A #5AECD6 #D65AEC
tetradic
#ECD65A #5AEC8D #5A70EC #EC5AB9
square
#ECD65A #5AEC8D #5A70EC #EC5AB9
split-complementary
#ECD65A #5AB9EC #8D5AEC
monochromatic
#B79E15 #E6C823 #ECD65A #F2E491 #F9F1C8

Accessibility & contrast

On white

1.47
#ECD65A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#ECD65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD65A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD65A#FFFFFF#000000##000000
##ECD65A1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14C
Deuteranopia (green-blind)
#EFD960
Tritanopia (blue-blind)
#FDC8BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd65a;
/* rgb */ color: rgb(236, 214, 90);
/* oklch */ color: oklch(87.1% 0.144 99.3);
Tailwind
colors: {
  custom: {
    50: '#f5e28d',
    500: '#ecd65a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd65a;
$custom-light: #f5e28d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd65a",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 90
  },
  "hsl": {
    "h": 50.959,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8713,
    "c": 0.14419,
    "h": 99.3
  },
  "luminance": 0.66664
}

Semantic roles & 50–950 ramp

primary
#ECD65A
secondary
#3448B6
accent
#29DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD65A

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

Preview Lab → · Contrast checker → · Palette generator →

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