#ECCD4F#ECCD4F

#ECCD4F is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.2% C 0.146 H 95.2°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#ECCD4F
RGBrgb(236, 205, 79)
HSLhsl(48, 81%, 62%)
HSVhsv(48, 67%, 93%)
CMYKcmyk(0%, 13.1%, 66.5%, 7.5%)
CIE-LABlab(82.95, -2.79, 64.34)
CIE-LCHlch(82.95, 64.40, 92.49°)
OKLaboklab(85.21% -0.0132 0.1451)
OKLCHoklch(85.21% 0.146 95.2)
XYZxyz(57.8375, 62.0630, 16.3285)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD4F #4F6EEC
analogous
#EC7F4F #ECCD4F #BDEC4F
triadic
#ECCD4F #4FECCD #CD4FEC
tetradic
#ECCD4F #4FEC7F #4F6EEC #EC4FBD
square
#ECCD4F #4FEC7F #4F6EEC #EC4FBD
split-complementary
#ECCD4F #4FBDEC #7F4FEC
monochromatic
#AE8F13 #E5BD19 #ECCD4F #F2DD86 #F8ECBD

Accessibility & contrast

On white

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

On black

13.41
#ECCD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD4F
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD4F#FFFFFF#000000##000000
##ECCD4F1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93F
Deuteranopia (green-blind)
#E9D356
Tritanopia (blue-blind)
#FEBEB3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd4f;
/* rgb */ color: rgb(236, 205, 79);
/* oklch */ color: oklch(85.2% 0.146 95.2);
Tailwind
colors: {
  custom: {
    50: '#f6db86',
    500: '#eccd4f',
    950: '#000000',
  },
}
SCSS
$custom: #eccd4f;
$custom-light: #f6db86;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd4f",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 48.153,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8521,
    "c": 0.14567,
    "h": 95.2
  },
  "luminance": 0.6206
}

Semantic roles & 50–950 ramp

primary
#ECCD4F
secondary
#314AAE
accent
#33DD09
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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