#ECDB72#ECDB72

#ECDB72 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.4% C 0.128 H 100.3°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#ECDB72
RGBrgb(236, 219, 114)
HSLhsl(52, 76%, 69%)
HSVhsv(52, 52%, 93%)
CMYKcmyk(0%, 7.2%, 51.7%, 7.5%)
CIE-LABlab(86.86, -7.48, 53.17)
CIE-LCHlch(86.86, 53.69, 98.01°)
OKLaboklab(88.41% -0.0227 0.1255)
OKLCHoklch(88.41% 0.128 100.3)
XYZxyz(62.9628, 69.7131, 26.0557)
Luminance0.6971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB72 #7283EC
analogous
#EC9E72 #ECDB72 #C0EC72
triadic
#ECDB72 #72ECDB #DB72EC
tetradic
#ECDB72 #72EC9E #7283EC #EC72C0
square
#ECDB72 #72EC9E #7283EC #EC72C0
split-complementary
#ECDB72 #72C0EC #9E72EC
monochromatic
#C9B01B #E5CD3C #ECDB72 #F3E9A8 #FBF7DE

Accessibility & contrast

On white

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

On black

14.94
#ECDB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB72
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB72#FFFFFF#000000##000000
##ECDB721.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD668
Deuteranopia (green-blind)
#F1DC77
Tritanopia (blue-blind)
#FBCEC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb72;
/* rgb */ color: rgb(236, 219, 114);
/* oklch */ color: oklch(88.4% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#f4e59d',
    500: '#ecdb72',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb72;
$custom-light: #f4e59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb72",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 114
  },
  "hsl": {
    "h": 51.639,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88412,
    "c": 0.12753,
    "h": 100.3
  },
  "luminance": 0.69711
}

Semantic roles & 50–950 ramp

primary
#ECDB72
secondary
#3E51C4
accent
#29D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECDB72

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

Preview Lab → · Contrast checker → · Palette generator →

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