#ECDF6F#ECDF6F

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

Color values

HEX#ECDF6F
RGBrgb(236, 223, 111)
HSLhsl(54, 77%, 68%)
HSVhsv(54, 53%, 93%)
CMYKcmyk(0%, 5.5%, 53%, 7.5%)
CIE-LABlab(87.85, -9.73, 55.74)
CIE-LCHlch(87.85, 56.58, 99.91°)
OKLaboklab(89.19% -0.0295 0.1308)
OKLCHoklch(89.19% 0.134 102.7)
XYZxyz(63.8510, 71.7581, 25.5231)
Luminance0.7176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF6F #6F7CEC
analogous
#ECA06F #ECDF6F #BAEC6F
triadic
#ECDF6F #6FECDF #DF6FEC
tetradic
#ECDF6F #6FECA0 #6F7CEC #EC6FBA
square
#ECDF6F #6FECA0 #6F7CEC #EC6FBA
split-complementary
#ECDF6F #6FBAEC #A06FEC
monochromatic
#C6B51A #E5D339 #ECDF6F #F3EBA5 #FAF7DB

Accessibility & contrast

On white

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

On black

15.35
#ECDF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF6F
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF6F#FFFFFF#000000##000000
##ECDF6F1.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecdf6f;
/* rgb */ color: rgb(236, 223, 111);
/* oklch */ color: oklch(89.2% 0.134 102.7);
Tailwind
colors: {
  custom: {
    50: '#f4e89b',
    500: '#ecdf6f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf6f;
$custom-light: #f4e89b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf6f",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 111
  },
  "hsl": {
    "h": 53.76,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89192,
    "c": 0.13408,
    "h": 102.7
  },
  "luminance": 0.71756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECDF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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