#ECDD61#ECDD61

#ECDD61 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.6% C 0.145 H 102.4°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#ECDD61
RGBrgb(236, 221, 97)
HSLhsl(54, 79%, 65%)
HSVhsv(54, 59%, 93%)
CMYKcmyk(0%, 6.4%, 58.9%, 7.5%)
CIE-LABlab(87.20, -9.77, 61.28)
CIE-LCHlch(87.20, 62.06, 99.06°)
OKLaboklab(88.63% -0.0312 0.1411)
OKLCHoklch(88.63% 0.145 102.4)
XYZxyz(62.6084, 70.4112, 21.5998)
Luminance0.7041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD61 #6170EC
analogous
#EC9761 #ECDD61 #B6EC61
triadic
#ECDD61 #61ECDD #DD61EC
tetradic
#ECDD61 #61EC97 #6170EC #EC61B6
square
#ECDD61 #61EC97 #6170EC #EC61B6
split-complementary
#ECDD61 #61B6EC #9761EC
monochromatic
#BCAA17 #E5D12A #ECDD61 #F3E998 #F9F5CE

Accessibility & contrast

On white

1.39
#ECDD61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#ECDD61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD61
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD61#FFFFFF#000000##000000
##ECDD611.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD754
Deuteranopia (green-blind)
#F4DE67
Tritanopia (blue-blind)
#FCCFC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdd61;
/* rgb */ color: rgb(236, 221, 97);
/* oklch */ color: oklch(88.6% 0.145 102.4);
Tailwind
colors: {
  custom: {
    50: '#f5e792',
    500: '#ecdd61',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd61;
$custom-light: #f5e792;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd61",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 97
  },
  "hsl": {
    "h": 53.525,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88628,
    "c": 0.14454,
    "h": 102.4
  },
  "luminance": 0.70409
}

Semantic roles & 50–950 ramp

primary
#ECDD61
secondary
#3645BB
accent
#21DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDD61

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

Preview Lab → · Contrast checker → · Palette generator →

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