#ECDF71#ECDF71

#ECDF71 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.2% C 0.132 H 102.6°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#ECDF71
RGBrgb(236, 223, 113)
HSLhsl(54, 76%, 68%)
HSVhsv(54, 52%, 93%)
CMYKcmyk(0%, 5.5%, 52.1%, 7.5%)
CIE-LABlab(87.87, -9.57, 54.84)
CIE-LCHlch(87.87, 55.67, 99.90°)
OKLaboklab(89.22% -0.0288 0.129)
OKLCHoklch(89.22% 0.132 102.6)
XYZxyz(63.9623, 71.8026, 26.1096)
Luminance0.7180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF71 #717EEC
analogous
#ECA171 #ECDF71 #BBEC71
triadic
#ECDF71 #71ECDF #DF71EC
tetradic
#ECDF71 #71ECA1 #717EEC #EC71BB
square
#ECDF71 #71ECA1 #717EEC #EC71BB
split-complementary
#ECDF71 #71BBEC #A171EC
monochromatic
#C8B61B #E5D33B #ECDF71 #F3EBA7 #FAF7DD

Accessibility & contrast

On white

1.37
#ECDF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#ECDF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF71
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF71#FFFFFF#000000##000000
##ECDF711.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D967
Deuteranopia (green-blind)
#F4DF76
Tritanopia (blue-blind)
#FBD2C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdf71;
/* rgb */ color: rgb(236, 223, 113);
/* oklch */ color: oklch(89.2% 0.132 102.6);
Tailwind
colors: {
  custom: {
    50: '#f4e89c',
    500: '#ecdf71',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf71;
$custom-light: #f4e89c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf71",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 53.659,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89216,
    "c": 0.13221,
    "h": 102.6
  },
  "luminance": 0.718
}

Semantic roles & 50–950 ramp

primary
#ECDF71
secondary
#3D4BC4
accent
#22D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECDF71

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

Preview Lab → · Contrast checker → · Palette generator →

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