#ECCE5C#ECCE5C

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

Color values

HEX#ECCE5C
RGBrgb(236, 206, 92)
HSLhsl(48, 79%, 64%)
HSVhsv(48, 61%, 93%)
CMYKcmyk(0%, 12.7%, 61%, 7.5%)
CIE-LABlab(83.31, -2.52, 59.17)
CIE-LCHlch(83.31, 59.23, 92.43°)
OKLaboklab(85.53% -0.0109 0.136)
OKLCHoklch(85.53% 0.136 94.6)
XYZxyz(58.5977, 62.7511, 19.1488)
Luminance0.6275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE5C #5C7AEC
analogous
#EC865C #ECCE5C #C2EC5C
triadic
#ECCE5C #5CECCE #CE5CEC
tetradic
#ECCE5C #5CEC86 #5C7AEC #EC5CC2
square
#ECCE5C #5CEC86 #5C7AEC #EC5CC2
split-complementary
#ECCE5C #5CC2EC #865CEC
monochromatic
#B89615 #E6BE25 #ECCE5C #F2DE93 #F9EFCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCE5C#FFFFFF#000000##000000
##ECCE5C1.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)
#E1CA50
Deuteranopia (green-blind)
#E9D461
Tritanopia (blue-blind)
#FDC0B5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecce5c;
/* rgb */ color: rgb(236, 206, 92);
/* oklch */ color: oklch(85.5% 0.136 94.6);
Tailwind
colors: {
  custom: {
    50: '#f5dc8e',
    500: '#ecce5c',
    950: '#000000',
  },
}
SCSS
$custom: #ecce5c;
$custom-light: #f5dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce5c",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 92
  },
  "hsl": {
    "h": 47.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85533,
    "c": 0.13643,
    "h": 94.6
  },
  "luminance": 0.62748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECCE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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