#ECCC5D#ECCC5D

#ECCC5D is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.1% C 0.134 H 93.3°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#ECCC5D
RGBrgb(236, 204, 93)
HSLhsl(47, 79%, 65%)
HSVhsv(47, 61%, 93%)
CMYKcmyk(0%, 13.6%, 60.6%, 7.5%)
CIE-LABlab(82.81, -1.42, 58.17)
CIE-LCHlch(82.81, 58.19, 91.40°)
OKLaboklab(85.14% -0.0076 0.134)
OKLCHoklch(85.14% 0.134 93.3)
XYZxyz(58.1633, 61.8119, 19.2211)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC5D #5D7DEC
analogous
#EC845D #ECCC5D #C5EC5D
triadic
#ECCC5D #5DECCC #CC5DEC
tetradic
#ECCC5D #5DEC84 #5D7DEC #EC5DC5
square
#ECCC5D #5DEC84 #5D7DEC #EC5DC5
split-complementary
#ECCC5D #5DC5EC #845DEC
monochromatic
#B99416 #E6BB26 #ECCC5D #F2DD94 #F9EECB

Accessibility & contrast

On white

1.57
#ECCC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#ECCC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCC5D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCC5D#FFFFFF#000000##000000
##ECCC5D1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC951
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#FEBEB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eccc5d;
/* rgb */ color: rgb(236, 204, 93);
/* oklch */ color: oklch(85.1% 0.134 93.3);
Tailwind
colors: {
  custom: {
    50: '#f5db8f',
    500: '#eccc5d',
    950: '#000000',
  },
}
SCSS
$custom: #eccc5d;
$custom-light: #f5db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc5d",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 46.573,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85143,
    "c": 0.13421,
    "h": 93.3
  },
  "luminance": 0.61809
}

Semantic roles & 50–950 ramp

primary
#ECCC5D
secondary
#3552B8
accent
#39DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECCC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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