#ECDE71#ECDE71

#ECDE71 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.0% C 0.131 H 102.0°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#ECDE71
RGBrgb(236, 222, 113)
HSLhsl(53, 76%, 68%)
HSVhsv(53, 52%, 93%)
CMYKcmyk(0%, 5.9%, 52.1%, 7.5%)
CIE-LABlab(87.62, -9.07, 54.54)
CIE-LCHlch(87.62, 55.28, 99.44°)
OKLaboklab(89.01% -0.0274 0.1284)
OKLCHoklch(89.01% 0.131 102)
XYZxyz(63.6959, 71.2699, 26.0208)
Luminance0.7127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE71 #717FEC
analogous
#ECA071 #ECDE71 #BCEC71
triadic
#ECDE71 #71ECDE #DE71EC
tetradic
#ECDE71 #71ECA0 #717FEC #EC71BC
square
#ECDE71 #71ECA0 #717FEC #EC71BC
split-complementary
#ECDE71 #71BCEC #A071EC
monochromatic
#C8B41B #E5D13B #ECDE71 #F3EBA7 #FAF7DD

Accessibility & contrast

On white

1.38
#ECDE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#ECDE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE71
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE71#FFFFFF#000000##000000
##ECDE711.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD867
Deuteranopia (green-blind)
#F3DE76
Tritanopia (blue-blind)
#FBD1C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecde71;
/* rgb */ color: rgb(236, 222, 113);
/* oklch */ color: oklch(89.0% 0.131 102.0);
Tailwind
colors: {
  custom: {
    50: '#f4e89c',
    500: '#ecde71',
    950: '#000000',
  },
}
SCSS
$custom: #ecde71;
$custom-light: #f4e89c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde71",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 113
  },
  "hsl": {
    "h": 53.171,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89011,
    "c": 0.13126,
    "h": 102
  },
  "luminance": 0.71268
}

Semantic roles & 50–950 ramp

primary
#ECDE71
secondary
#3D4CC4
accent
#24D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECDE71

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

Preview Lab → · Contrast checker → · Palette generator →

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