#ECDF5F#ECDF5F

#ECDF5F is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.0% C 0.148 H 103.5°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#ECDF5F
RGBrgb(236, 223, 95)
HSLhsl(54, 79%, 65%)
HSVhsv(54, 60%, 93%)
CMYKcmyk(0%, 5.5%, 59.7%, 7.5%)
CIE-LABlab(87.70, -10.91, 62.70)
CIE-LCHlch(87.70, 63.64, 99.87°)
OKLaboklab(89.02% -0.0346 0.1439)
OKLCHoklch(89.02% 0.148 103.5)
XYZxyz(63.0476, 71.4367, 21.2919)
Luminance0.7143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF5F #5F6CEC
analogous
#EC985F #ECDF5F #B3EC5F
triadic
#ECDF5F #5FECDF #DF5FEC
tetradic
#ECDF5F #5FEC98 #5F6CEC #EC5FB3
square
#ECDF5F #5FEC98 #5F6CEC #EC5FB3
split-complementary
#ECDF5F #5FB3EC #985FEC
monochromatic
#BAAB16 #E6D428 #ECDF5F #F2EA96 #F9F5CC

Accessibility & contrast

On white

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

On black

15.29
#ECDF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF5F
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF5F#FFFFFF#000000##000000
##ECDF5F1.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D851
Deuteranopia (green-blind)
#F5DF66
Tritanopia (blue-blind)
#FCD1C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdf5f;
/* rgb */ color: rgb(236, 223, 95);
/* oklch */ color: oklch(89.0% 0.148 103.5);
Tailwind
colors: {
  custom: {
    50: '#f5e891',
    500: '#ecdf5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf5f;
$custom-light: #f5e891;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf5f",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 54.468,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89018,
    "c": 0.14801,
    "h": 103.5
  },
  "luminance": 0.71434
}

Semantic roles & 50–950 ramp

primary
#ECDF5F
secondary
#3642BA
accent
#1EDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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