#ECCF6C#ECCF6C

#ECCF6C is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.9% C 0.123 H 93.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#ECCF6C
RGBrgb(236, 207, 108)
HSLhsl(46, 77%, 67%)
HSVhsv(46, 54%, 93%)
CMYKcmyk(0%, 12.3%, 54.2%, 7.5%)
CIE-LABlab(83.73, -1.86, 52.30)
CIE-LCHlch(83.73, 52.33, 92.04°)
OKLaboklab(85.92% -0.0072 0.123)
OKLCHoklch(85.92% 0.123 93.3)
XYZxyz(59.6140, 63.5440, 23.3096)
Luminance0.6354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF6C #6C89EC
analogous
#EC8F6C #ECCF6C #C9EC6C
triadic
#ECCF6C #6CECCF #CF6CEC
tetradic
#ECCF6C #6CEC8F #6C89EC #EC6CC9
square
#ECCF6C #6CEC8F #6C89EC #EC6CC9
split-complementary
#ECCF6C #6CC9EC #8F6CEC
monochromatic
#C49E19 #E5BD36 #ECCF6C #F3E1A2 #FAF2D8

Accessibility & contrast

On white

1.53
#ECCF6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#ECCF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF6C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF6C#FFFFFF#000000##000000
##ECCF6C1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC63
Deuteranopia (green-blind)
#E9D470
Tritanopia (blue-blind)
#FDC2B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eccf6c;
/* rgb */ color: rgb(236, 207, 108);
/* oklch */ color: oklch(85.9% 0.123 93.3);
Tailwind
colors: {
  custom: {
    50: '#f5dd98',
    500: '#eccf6c',
    950: '#000000',
  },
}
SCSS
$custom: #eccf6c;
$custom-light: #f5dd98;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf6c",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 108
  },
  "hsl": {
    "h": 46.406,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85915,
    "c": 0.12324,
    "h": 93.3
  },
  "luminance": 0.63541
}

Semantic roles & 50–950 ramp

primary
#ECCF6C
secondary
#3A59C2
accent
#3BD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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