#ECCD5A#ECCD5A

#ECCD5A is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.3% C 0.137 H 94.2°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#ECCD5A
RGBrgb(236, 205, 90)
HSLhsl(47, 79%, 64%)
HSVhsv(47, 62%, 93%)
CMYKcmyk(0%, 13.1%, 61.9%, 7.5%)
CIE-LABlab(83.04, -2.13, 59.76)
CIE-LCHlch(83.04, 59.79, 92.04°)
OKLaboklab(85.31% -0.01 0.137)
OKLCHoklch(85.31% 0.137 94.2)
XYZxyz(58.2715, 62.2366, 18.6144)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD5A #5A79EC
analogous
#EC845A #ECCD5A #C2EC5A
triadic
#ECCD5A #5AECCD #CD5AEC
tetradic
#ECCD5A #5AEC84 #5A79EC #EC5AC2
square
#ECCD5A #5AEC84 #5A79EC #EC5AC2
split-complementary
#ECCD5A #5AC2EC #845AEC
monochromatic
#B79415 #E6BC23 #ECCD5A #F2DE91 #F9EEC8

Accessibility & contrast

On white

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

On black

13.45
#ECCD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD5A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD5A#FFFFFF#000000##000000
##ECCD5A1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94D
Deuteranopia (green-blind)
#E8D35F
Tritanopia (blue-blind)
#FEBEB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd5a;
/* rgb */ color: rgb(236, 205, 90);
/* oklch */ color: oklch(85.3% 0.137 94.2);
Tailwind
colors: {
  custom: {
    50: '#f5db8d',
    500: '#eccd5a',
    950: '#000000',
  },
}
SCSS
$custom: #eccd5a;
$custom-light: #f5db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd5a",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 47.26,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85312,
    "c": 0.13734,
    "h": 94.2
  },
  "luminance": 0.62234
}

Semantic roles & 50–950 ramp

primary
#ECCD5A
secondary
#3450B6
accent
#36DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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