#ECDF5D#ECDF5D

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

Color values

HEX#ECDF5D
RGBrgb(236, 223, 93)
HSLhsl(55, 79%, 65%)
HSVhsv(55, 61%, 93%)
CMYKcmyk(0%, 5.5%, 60.6%, 7.5%)
CIE-LABlab(87.68, -11.04, 63.54)
CIE-LCHlch(87.68, 64.49, 99.86°)
OKLaboklab(89% -0.0352 0.1454)
OKLCHoklch(89% 0.15 103.6)
XYZxyz(62.9578, 71.4008, 20.8192)
Luminance0.7140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF5D #5D6AEC
analogous
#EC975D #ECDF5D #B2EC5D
triadic
#ECDF5D #5DECDF #DF5DEC
tetradic
#ECDF5D #5DEC97 #5D6AEC #EC5DB2
square
#ECDF5D #5DEC97 #5D6AEC #EC5DB2
split-complementary
#ECDF5D #5DB2EC #975DEC
monochromatic
#B9AA16 #E6D426 #ECDF5D #F2EA94 #F9F5CB

Accessibility & contrast

On white

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

On black

15.28
#ECDF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF5D
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF5D#FFFFFF#000000##000000
##ECDF5D1.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D84E
Deuteranopia (green-blind)
#F6DF64
Tritanopia (blue-blind)
#FCD1C3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdf5d;
/* rgb */ color: rgb(236, 223, 93);
/* oklch */ color: oklch(89.0% 0.150 103.6);
Tailwind
colors: {
  custom: {
    50: '#f5e890',
    500: '#ecdf5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf5d;
$custom-light: #f5e890;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf5d",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 54.545,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88999,
    "c": 0.14961,
    "h": 103.6
  },
  "luminance": 0.71399
}

Semantic roles & 50–950 ramp

primary
#ECDF5D
secondary
#3541B8
accent
#1DDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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