#ECCD6C#ECCD6C

#ECCD6C is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.5% C 0.122 H 92.0°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#ECCD6C
RGBrgb(236, 205, 108)
HSLhsl(45, 77%, 67%)
HSVhsv(45, 54%, 93%)
CMYKcmyk(0%, 13.1%, 54.2%, 7.5%)
CIE-LABlab(83.22, -0.84, 51.70)
CIE-LCHlch(83.22, 51.71, 90.93°)
OKLaboklab(85.52% -0.0042 0.1217)
OKLCHoklch(85.52% 0.122 92)
XYZxyz(59.1325, 62.5810, 23.1491)
Luminance0.6258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD6C #6C8BEC
analogous
#EC8D6C #ECCD6C #CBEC6C
triadic
#ECCD6C #6CECCD #CD6CEC
tetradic
#ECCD6C #6CEC8D #6C8BEC #EC6CCB
square
#ECCD6C #6CEC8D #6C8BEC #EC6CCB
split-complementary
#ECCD6C #6CCBEC #8D6CEC
monochromatic
#C49B19 #E5BB36 #ECCD6C #F3DFA2 #FAF2D8

Accessibility & contrast

On white

1.55
#ECCD6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#ECCD6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD6C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD6C#FFFFFF#000000##000000
##ECCD6C1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA63
Deuteranopia (green-blind)
#E7D370
Tritanopia (blue-blind)
#FDC0B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd6c;
/* rgb */ color: rgb(236, 205, 108);
/* oklch */ color: oklch(85.5% 0.122 92.0);
Tailwind
colors: {
  custom: {
    50: '#f5dc98',
    500: '#eccd6c',
    950: '#000000',
  },
}
SCSS
$custom: #eccd6c;
$custom-light: #f5dc98;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd6c",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 108
  },
  "hsl": {
    "h": 45.469,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85515,
    "c": 0.1218,
    "h": 92
  },
  "luminance": 0.62578
}

Semantic roles & 50–950 ramp

primary
#ECCD6C
secondary
#3A5BC2
accent
#3ED90C
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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