#ECDA72#ECDA72

#ECDA72 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.2% C 0.127 H 99.7°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#ECDA72
RGBrgb(236, 218, 114)
HSLhsl(51, 76%, 69%)
HSVhsv(51, 52%, 93%)
CMYKcmyk(0%, 7.6%, 51.7%, 7.5%)
CIE-LABlab(86.60, -6.98, 52.87)
CIE-LCHlch(86.60, 53.32, 97.52°)
OKLaboklab(88.21% -0.0213 0.1248)
OKLCHoklch(88.21% 0.127 99.7)
XYZxyz(62.7027, 69.1929, 25.9690)
Luminance0.6919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA72 #7284EC
analogous
#EC9D72 #ECDA72 #C1EC72
triadic
#ECDA72 #72ECDA #DA72EC
tetradic
#ECDA72 #72EC9D #7284EC #EC72C1
square
#ECDA72 #72EC9D #7284EC #EC72C1
split-complementary
#ECDA72 #72C1EC #9D72EC
monochromatic
#C9AF1B #E5CC3C #ECDA72 #F3E8A8 #FBF6DE

Accessibility & contrast

On white

1.42
#ECDA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#ECDA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA72
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA72#FFFFFF#000000##000000
##ECDA721.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD569
Deuteranopia (green-blind)
#F0DC77
Tritanopia (blue-blind)
#FCCDC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecda72;
/* rgb */ color: rgb(236, 218, 114);
/* oklch */ color: oklch(88.2% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#f4e59d',
    500: '#ecda72',
    950: '#000000',
  },
}
SCSS
$custom: #ecda72;
$custom-light: #f4e59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda72",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 114
  },
  "hsl": {
    "h": 51.148,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88209,
    "c": 0.12663,
    "h": 99.7
  },
  "luminance": 0.69191
}

Semantic roles & 50–950 ramp

primary
#ECDA72
secondary
#3E52C4
accent
#2BD80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECDA72

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

Preview Lab → · Contrast checker → · Palette generator →

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