#ECCE5D#ECCE5D

#ECCE5D is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.5% C 0.136 H 94.5°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#ECCE5D
RGBrgb(236, 206, 93)
HSLhsl(47, 79%, 65%)
HSVhsv(47, 61%, 93%)
CMYKcmyk(0%, 12.7%, 60.6%, 7.5%)
CIE-LABlab(83.32, -2.45, 58.74)
CIE-LCHlch(83.32, 58.79, 92.39°)
OKLaboklab(85.54% -0.0106 0.1352)
OKLCHoklch(85.54% 0.136 94.5)
XYZxyz(58.6417, 62.7687, 19.3805)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE5D #5D7BEC
analogous
#EC875D #ECCE5D #C2EC5D
triadic
#ECCE5D #5DECCE #CE5DEC
tetradic
#ECCE5D #5DEC87 #5D7BEC #EC5DC2
square
#ECCE5D #5DEC87 #5D7BEC #EC5DC2
split-complementary
#ECCE5D #5DC2EC #875DEC
monochromatic
#B99716 #E6BD26 #ECCE5D #F2DF94 #F9EFCB

Accessibility & contrast

On white

1.55
#ECCE5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#ECCE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE5D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE5D#FFFFFF#000000##000000
##ECCE5D1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA51
Deuteranopia (green-blind)
#E9D462
Tritanopia (blue-blind)
#FDC0B5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecce5d;
/* rgb */ color: rgb(236, 206, 93);
/* oklch */ color: oklch(85.5% 0.136 94.5);
Tailwind
colors: {
  custom: {
    50: '#f5dc8f',
    500: '#ecce5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecce5d;
$custom-light: #f5dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce5d",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 93
  },
  "hsl": {
    "h": 47.413,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85544,
    "c": 0.13561,
    "h": 94.5
  },
  "luminance": 0.62766
}

Semantic roles & 50–950 ramp

primary
#ECCE5D
secondary
#3551B8
accent
#36DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECCE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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