#ECCC4F#ECCC4F

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

Color values

HEX#ECCC4F
RGBrgb(236, 204, 79)
HSLhsl(48, 81%, 62%)
HSVhsv(48, 67%, 93%)
CMYKcmyk(0%, 13.6%, 66.5%, 7.5%)
CIE-LABlab(82.69, -2.28, 64.08)
CIE-LCHlch(82.69, 64.12, 92.04°)
OKLaboklab(85.01% -0.0117 0.1445)
OKLCHoklch(85.01% 0.145 94.6)
XYZxyz(57.5990, 61.5861, 16.2490)
Luminance0.6158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC4F #4F6FEC
analogous
#EC7E4F #ECCC4F #BDEC4F
triadic
#ECCC4F #4FECCC #CC4FEC
tetradic
#ECCC4F #4FEC7E #4F6FEC #EC4FBD
square
#ECCC4F #4FEC7E #4F6FEC #EC4FBD
split-complementary
#ECCC4F #4FBDEC #7E4FEC
monochromatic
#AE8E13 #E5BB19 #ECCC4F #F2DC86 #F8ECBD

Accessibility & contrast

On white

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

On black

13.32
#ECCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCC4F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCC4F#FFFFFF#000000##000000
##ECCC4F1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eccc4f;
/* rgb */ color: rgb(236, 204, 79);
/* oklch */ color: oklch(85.0% 0.145 94.6);
Tailwind
colors: {
  custom: {
    50: '#f6db86',
    500: '#eccc4f',
    950: '#000000',
  },
}
SCSS
$custom: #eccc4f;
$custom-light: #f6db86;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc4f",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 47.771,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85009,
    "c": 0.14499,
    "h": 94.6
  },
  "luminance": 0.61583
}

Semantic roles & 50–950 ramp

primary
#ECCC4F
secondary
#314AAE
accent
#34DD09
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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