#ECDF73#ECDF73

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

Color values

HEX#ECDF73
RGBrgb(236, 223, 115)
HSLhsl(54, 76%, 69%)
HSVhsv(54, 51%, 93%)
CMYKcmyk(0%, 5.5%, 51.3%, 7.5%)
CIE-LABlab(87.90, -9.41, 53.93)
CIE-LCHlch(87.90, 54.75, 99.89°)
OKLaboklab(89.24% -0.0281 0.1272)
OKLCHoklch(89.24% 0.13 102.5)
XYZxyz(64.0762, 71.8482, 26.7091)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF73 #7380EC
analogous
#ECA373 #ECDF73 #BDEC73
triadic
#ECDF73 #73ECDF #DF73EC
tetradic
#ECDF73 #73ECA3 #7380EC #EC73BD
square
#ECDF73 #73ECA3 #7380EC #EC73BD
split-complementary
#ECDF73 #73BDEC #A373EC
monochromatic
#C9B71B #E5D33D #ECDF73 #F3EBA9 #FBF8DF

Accessibility & contrast

On white

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

On black

15.37
#ECDF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF73
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF73#FFFFFF#000000##000000
##ECDF731.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecdf73;
/* rgb */ color: rgb(236, 223, 115);
/* oklch */ color: oklch(89.2% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#f4e89e',
    500: '#ecdf73',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf73;
$custom-light: #f4e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf73",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 115
  },
  "hsl": {
    "h": 53.554,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8924,
    "c": 0.13032,
    "h": 102.5
  },
  "luminance": 0.71846
}

Semantic roles & 50–950 ramp

primary
#ECDF73
secondary
#3F4DC4
accent
#23D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDF73

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

Preview Lab → · Contrast checker → · Palette generator →

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