#ECCD5F#ECCD5F

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

Color values

HEX#ECCD5F
RGBrgb(236, 205, 95)
HSLhsl(47, 79%, 65%)
HSVhsv(47, 60%, 93%)
CMYKcmyk(0%, 13.1%, 59.7%, 7.5%)
CIE-LABlab(83.09, -1.80, 57.58)
CIE-LCHlch(83.09, 57.61, 91.79°)
OKLaboklab(85.36% -0.0085 0.133)
OKLCHoklch(85.36% 0.133 93.7)
XYZxyz(58.4915, 62.3246, 19.7732)
Luminance0.6232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD5F #5F7EEC
analogous
#EC875F #ECCD5F #C4EC5F
triadic
#ECCD5F #5FECCD #CD5FEC
tetradic
#ECCD5F #5FEC87 #5F7EEC #EC5FC4
square
#ECCD5F #5FEC87 #5F7EEC #EC5FC4
split-complementary
#ECCD5F #5FC4EC #875FEC
monochromatic
#BA9616 #E6BC28 #ECCD5F #F2DE96 #F9EFCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCD5F#FFFFFF#000000##000000
##ECCD5F1.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)
#E0CA54
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#FDBFB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd5f;
/* rgb */ color: rgb(236, 205, 95);
/* oklch */ color: oklch(85.4% 0.133 93.7);
Tailwind
colors: {
  custom: {
    50: '#f5dc90',
    500: '#eccd5f',
    950: '#000000',
  },
}
SCSS
$custom: #eccd5f;
$custom-light: #f5dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd5f",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 46.809,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85364,
    "c": 0.13324,
    "h": 93.7
  },
  "luminance": 0.62322
}

Semantic roles & 50–950 ramp

primary
#ECCD5F
secondary
#3653BA
accent
#38DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECCD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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