#ECCC6A#ECCC6A

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

Color values

HEX#ECCC6A
RGBrgb(236, 204, 106)
HSLhsl(45, 77%, 67%)
HSVhsv(45, 55%, 93%)
CMYKcmyk(0%, 13.6%, 55.1%, 7.5%)
CIE-LABlab(82.95, -0.48, 52.33)
CIE-LCHlch(82.95, 52.33, 90.53°)
OKLaboklab(85.29% -0.0034 0.1229)
OKLCHoklch(85.29% 0.123 91.6)
XYZxyz(58.7888, 62.0621, 22.5155)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC6A #6A8AEC
analogous
#EC8B6A #ECCC6A #CBEC6A
triadic
#ECCC6A #6AECCC #CC6AEC
tetradic
#ECCC6A #6AEC8B #6A8AEC #EC6ACB
square
#ECCC6A #6AEC8B #6A8AEC #EC6ACB
split-complementary
#ECCC6A #6ACBEC #8B6AEC
monochromatic
#C39919 #E5B934 #ECCC6A #F3DFA0 #FAF1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCC6A#FFFFFF#000000##000000
##ECCC6A1.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)
#DEC961
Deuteranopia (green-blind)
#E6D26E
Tritanopia (blue-blind)
#FDBEB6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccc6a;
/* rgb */ color: rgb(236, 204, 106);
/* oklch */ color: oklch(85.3% 0.123 91.6);
Tailwind
colors: {
  custom: {
    50: '#f5db97',
    500: '#eccc6a',
    950: '#000000',
  },
}
SCSS
$custom: #eccc6a;
$custom-light: #f5db97;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc6a",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 45.231,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85291,
    "c": 0.12294,
    "h": 91.6
  },
  "luminance": 0.62059
}

Semantic roles & 50–950 ramp

primary
#ECCC6A
secondary
#395BC1
accent
#3FDA0C
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECCC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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