#ECDE5B#ECDE5B

#ECDE5B is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.8% C 0.150 H 103.2°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#ECDE5B
RGBrgb(236, 222, 91)
HSLhsl(54, 79%, 64%)
HSVhsv(54, 61%, 93%)
CMYKcmyk(0%, 5.9%, 61.4%, 7.5%)
CIE-LABlab(87.40, -10.67, 64.08)
CIE-LCHlch(87.40, 64.97, 99.45°)
OKLaboklab(88.78% -0.0344 0.1463)
OKLCHoklch(88.78% 0.15 103.2)
XYZxyz(62.6040, 70.8331, 20.2700)
Luminance0.7083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE5B #5B69EC
analogous
#EC965B #ECDE5B #B2EC5B
triadic
#ECDE5B #5BECDE #DE5BEC
tetradic
#ECDE5B #5BEC96 #5B69EC #EC5BB2
square
#ECDE5B #5BEC96 #5B69EC #EC5BB2
split-complementary
#ECDE5B #5BB2EC #965BEC
monochromatic
#B7A815 #E6D324 #ECDE5B #F2E992 #F9F4C9

Accessibility & contrast

On white

1.38
#ECDE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#ECDE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE5B
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE5B#FFFFFF#000000##000000
##ECDE5B1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74C
Deuteranopia (green-blind)
#F5DE62
Tritanopia (blue-blind)
#FDD0C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecde5b;
/* rgb */ color: rgb(236, 222, 91);
/* oklch */ color: oklch(88.8% 0.150 103.2);
Tailwind
colors: {
  custom: {
    50: '#f5e88f',
    500: '#ecde5b',
    950: '#000000',
  },
}
SCSS
$custom: #ecde5b;
$custom-light: #f5e88f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde5b",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 91
  },
  "hsl": {
    "h": 54.207,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88775,
    "c": 0.15029,
    "h": 103.2
  },
  "luminance": 0.70831
}

Semantic roles & 50–950 ramp

primary
#ECDE5B
secondary
#3441B7
accent
#1EDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECDE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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