#ECCE5E#ECCE5E

#ECCE5E is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.6% C 0.135 H 94.4°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#ECCE5E
RGBrgb(236, 206, 94)
HSLhsl(47, 79%, 65%)
HSVhsv(47, 60%, 93%)
CMYKcmyk(0%, 12.7%, 60.2%, 7.5%)
CIE-LABlab(83.33, -2.38, 58.30)
CIE-LCHlch(83.33, 58.35, 92.34°)
OKLaboklab(85.55% -0.0103 0.1344)
OKLCHoklch(85.55% 0.135 94.4)
XYZxyz(58.6863, 62.7865, 19.6153)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE5E #5E7CEC
analogous
#EC875E #ECCE5E #C3EC5E
triadic
#ECCE5E #5EECCE #CE5EEC
tetradic
#ECCE5E #5EEC87 #5E7CEC #EC5EC3
square
#ECCE5E #5EEC87 #5E7CEC #EC5EC3
split-complementary
#ECCE5E #5EC3EC #875EEC
monochromatic
#BA9716 #E6BD27 #ECCE5E #F2DF95 #F9EFCB

Accessibility & contrast

On white

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

On black

13.56
#ECCE5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE5E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE5E#FFFFFF#000000##000000
##ECCE5E1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecce5e;
/* rgb */ color: rgb(236, 206, 94);
/* oklch */ color: oklch(85.6% 0.135 94.4);
Tailwind
colors: {
  custom: {
    50: '#f5dc8f',
    500: '#ecce5e',
    950: '#000000',
  },
}
SCSS
$custom: #ecce5e;
$custom-light: #f5dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce5e",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 94
  },
  "hsl": {
    "h": 47.324,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85554,
    "c": 0.13478,
    "h": 94.4
  },
  "luminance": 0.62784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECCE5E

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

Preview Lab → · Contrast checker → · Palette generator →

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