#ECDE4B#ECDE4B

#ECDE4B is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.6% C 0.162 H 103.8°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#ECDE4B
RGBrgb(236, 222, 75)
HSLhsl(55, 81%, 61%)
HSVhsv(55, 68%, 93%)
CMYKcmyk(0%, 5.9%, 68.2%, 7.5%)
CIE-LABlab(87.28, -11.59, 70.35)
CIE-LCHlch(87.28, 71.30, 99.35°)
OKLaboklab(88.64% -0.0387 0.1571)
OKLCHoklch(88.64% 0.162 103.8)
XYZxyz(61.9859, 70.5859, 17.0146)
Luminance0.7058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE4B #4B59EC
analogous
#EC8D4B #ECDE4B #A9EC4B
triadic
#ECDE4B #4BECDE #DE4BEC
tetradic
#ECDE4B #4BEC8D #4B59EC #EC4BA9
square
#ECDE4B #4BEC8D #4B59EC #EC4BA9
split-complementary
#ECDE4B #4BA9EC #8D4BEC
monochromatic
#AB9D12 #E2D018 #ECDE4B #F2E882 #F8F2BA

Accessibility & contrast

On white

1.39
#ECDE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#ECDE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE4B
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE4B#FFFFFF#000000##000000
##ECDE4B1.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D735
Deuteranopia (green-blind)
#F6DE54
Tritanopia (blue-blind)
#FDCFC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecde4b;
/* rgb */ color: rgb(236, 222, 75);
/* oklch */ color: oklch(88.6% 0.162 103.8);
Tailwind
colors: {
  custom: {
    50: '#f6e785',
    500: '#ecde4b',
    950: '#000000',
  },
}
SCSS
$custom: #ecde4b;
$custom-light: #f6e785;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde4b",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 75
  },
  "hsl": {
    "h": 54.783,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8864,
    "c": 0.1618,
    "h": 103.8
  },
  "luminance": 0.70583
}

Semantic roles & 50–950 ramp

primary
#ECDE4B
secondary
#303AAC
accent
#1BDD08
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18160C
muted
#86847F

Preview Lab

Preview with #ECDE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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