#ECCC4D#ECCC4D

#ECCC4D is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.146 H 94.8°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#ECCC4D
RGBrgb(236, 204, 77)
HSLhsl(48, 81%, 61%)
HSVhsv(48, 67%, 93%)
CMYKcmyk(0%, 13.6%, 67.4%, 7.5%)
CIE-LABlab(82.68, -2.39, 64.88)
CIE-LCHlch(82.68, 64.92, 92.11°)
OKLaboklab(84.99% -0.0123 0.1459)
OKLCHoklch(84.99% 0.146 94.8)
XYZxyz(57.5273, 61.5575, 15.8714)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC4D #4D6DEC
analogous
#EC7D4D #ECCC4D #BCEC4D
triadic
#ECCC4D #4DECCC #CC4DEC
tetradic
#ECCC4D #4DEC7D #4D6DEC #EC4DBC
square
#ECCC4D #4DEC7D #4D6DEC #EC4DBC
split-complementary
#ECCC4D #4DBCEC #7D4DEC
monochromatic
#AC8D12 #E4BB18 #ECCC4D #F2DC84 #F8ECBC

Accessibility & contrast

On white

1.58
#ECCC4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#ECCC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCC4D
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCC4D#FFFFFF#000000##000000
##ECCC4D1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#E8D254
Tritanopia (blue-blind)
#FEBDB2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eccc4d;
/* rgb */ color: rgb(236, 204, 77);
/* oklch */ color: oklch(85.0% 0.146 94.8);
Tailwind
colors: {
  custom: {
    50: '#f6db85',
    500: '#eccc4d',
    950: '#000000',
  },
}
SCSS
$custom: #eccc4d;
$custom-light: #f6db85;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc4d",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 47.925,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84992,
    "c": 0.1464,
    "h": 94.8
  },
  "luminance": 0.61554
}

Semantic roles & 50–950 ramp

primary
#ECCC4D
secondary
#3049AD
accent
#33DD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECCC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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