#ECDB5A#ECDB5A

#ECDB5A is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.148 H 101.8°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#ECDB5A
RGBrgb(236, 219, 90)
HSLhsl(53, 79%, 64%)
HSVhsv(53, 62%, 93%)
CMYKcmyk(0%, 7.2%, 61.9%, 7.5%)
CIE-LABlab(86.62, -9.23, 63.66)
CIE-LCHlch(86.62, 64.33, 98.25°)
OKLaboklab(88.15% -0.0304 0.1453)
OKLCHoklch(88.15% 0.148 101.8)
XYZxyz(61.7715, 69.2366, 19.7811)
Luminance0.6923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB5A #5A6BEC
analogous
#EC925A #ECDB5A #B4EC5A
triadic
#ECDB5A #5AECDB #DB5AEC
tetradic
#ECDB5A #5AEC92 #5A6BEC #EC5AB4
square
#ECDB5A #5AEC92 #5A6BEC #EC5AB4
split-complementary
#ECDB5A #5AB4EC #925AEC
monochromatic
#B7A415 #E6CF23 #ECDB5A #F2E791 #F9F3C8

Accessibility & contrast

On white

1.41
#ECDB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#ECDB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB5A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB5A#FFFFFF#000000##000000
##ECDB5A1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54B
Deuteranopia (green-blind)
#F3DC61
Tritanopia (blue-blind)
#FDCDC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb5a;
/* rgb */ color: rgb(236, 219, 90);
/* oklch */ color: oklch(88.1% 0.148 101.8);
Tailwind
colors: {
  custom: {
    50: '#f5e58e',
    500: '#ecdb5a',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb5a;
$custom-light: #f5e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb5a",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 90
  },
  "hsl": {
    "h": 53.014,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8815,
    "c": 0.14841,
    "h": 101.8
  },
  "luminance": 0.69234
}

Semantic roles & 50–950 ramp

primary
#ECDB5A
secondary
#3443B6
accent
#22DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECDB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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