#ECDB71#ECDB71

#ECDB71 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#ECDB71
RGBrgb(236, 219, 113)
HSLhsl(52, 76%, 68%)
HSVhsv(52, 52%, 93%)
CMYKcmyk(0%, 7.2%, 52.1%, 7.5%)
CIE-LABlab(86.84, -7.56, 53.63)
CIE-LCHlch(86.84, 54.16, 98.03°)
OKLaboklab(88.4% -0.0231 0.1264)
OKLCHoklch(88.4% 0.128 100.3)
XYZxyz(62.9062, 69.6905, 25.7576)
Luminance0.6969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB71 #7182EC
analogous
#EC9D71 #ECDB71 #C0EC71
triadic
#ECDB71 #71ECDB #DB71EC
tetradic
#ECDB71 #71EC9D #7182EC #EC71C0
square
#ECDB71 #71EC9D #7182EC #EC71C0
split-complementary
#ECDB71 #71C0EC #9D71EC
monochromatic
#C8B01B #E5CD3B #ECDB71 #F3E9A7 #FAF6DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDB71#FFFFFF#000000##000000
##ECDB711.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)
#ECD667
Deuteranopia (green-blind)
#F1DC76
Tritanopia (blue-blind)
#FCCEC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb71;
/* rgb */ color: rgb(236, 219, 113);
/* oklch */ color: oklch(88.4% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#f4e59c',
    500: '#ecdb71',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb71;
$custom-light: #f4e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb71",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 113
  },
  "hsl": {
    "h": 51.707,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.884,
    "c": 0.12848,
    "h": 100.3
  },
  "luminance": 0.69688
}

Semantic roles & 50–950 ramp

primary
#ECDB71
secondary
#3D50C4
accent
#29D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECDB71

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

Preview Lab → · Contrast checker → · Palette generator →

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