#ECDC5F#ECDC5F

#ECDC5F is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.4% C 0.145 H 102.1°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#ECDC5F
RGBrgb(236, 220, 95)
HSLhsl(53, 79%, 65%)
HSVhsv(53, 60%, 93%)
CMYKcmyk(0%, 6.8%, 59.7%, 7.5%)
CIE-LABlab(86.92, -9.41, 61.85)
CIE-LCHlch(86.92, 62.56, 98.65°)
OKLaboklab(88.4% -0.0303 0.1421)
OKLCHoklch(88.4% 0.145 102.1)
XYZxyz(62.2531, 69.8479, 21.0271)
Luminance0.6985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDC5F #5F6FEC
analogous
#EC955F #ECDC5F #B6EC5F
triadic
#ECDC5F #5FECDC #DC5FEC
tetradic
#ECDC5F #5FEC95 #5F6FEC #EC5FB6
square
#ECDC5F #5FEC95 #5F6FEC #EC5FB6
split-complementary
#ECDC5F #5FB6EC #955FEC
monochromatic
#BAA816 #E6D028 #ECDC5F #F2E896 #F9F4CC

Accessibility & contrast

On white

1.40
#ECDC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#ECDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDC5F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDC5F#FFFFFF#000000##000000
##ECDC5F1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED651
Deuteranopia (green-blind)
#F3DD66
Tritanopia (blue-blind)
#FCCEC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdc5f;
/* rgb */ color: rgb(236, 220, 95);
/* oklch */ color: oklch(88.4% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#f5e691',
    500: '#ecdc5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdc5f;
$custom-light: #f5e691;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdc5f",
  "rgb": {
    "r": 236,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 53.191,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88403,
    "c": 0.14529,
    "h": 102.1
  },
  "luminance": 0.69845
}

Semantic roles & 50–950 ramp

primary
#ECDC5F
secondary
#3645BA
accent
#22DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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