#ECCD5E#ECCD5E

#ECCD5E is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.4% C 0.134 H 93.8°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#ECCD5E
RGBrgb(236, 205, 94)
HSLhsl(47, 79%, 65%)
HSVhsv(47, 60%, 93%)
CMYKcmyk(0%, 13.1%, 60.2%, 7.5%)
CIE-LABlab(83.08, -1.87, 58.02)
CIE-LCHlch(83.08, 58.05, 91.85°)
OKLaboklab(85.35% -0.0088 0.1338)
OKLCHoklch(85.35% 0.134 93.8)
XYZxyz(58.4463, 62.3066, 19.5353)
Luminance0.6230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD5E #5E7DEC
analogous
#EC865E #ECCD5E #C4EC5E
triadic
#ECCD5E #5EECCD #CD5EEC
tetradic
#ECCD5E #5EEC86 #5E7DEC #EC5EC4
square
#ECCD5E #5EEC86 #5E7DEC #EC5EC4
split-complementary
#ECCD5E #5EC4EC #865EEC
monochromatic
#BA9616 #E6BC27 #ECCD5E #F2DE95 #F9EFCB

Accessibility & contrast

On white

1.56
#ECCD5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#ECCD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD5E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD5E#FFFFFF#000000##000000
##ECCD5E1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C952
Deuteranopia (green-blind)
#E8D363
Tritanopia (blue-blind)
#FDBFB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd5e;
/* rgb */ color: rgb(236, 205, 94);
/* oklch */ color: oklch(85.4% 0.134 93.8);
Tailwind
colors: {
  custom: {
    50: '#f5dc8f',
    500: '#eccd5e',
    950: '#000000',
  },
}
SCSS
$custom: #eccd5e;
$custom-light: #f5dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd5e",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 46.901,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85354,
    "c": 0.13408,
    "h": 93.8
  },
  "luminance": 0.62304
}

Semantic roles & 50–950 ramp

primary
#ECCD5E
secondary
#3552B9
accent
#38DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECCD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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