#ECCF71#ECCF71

#ECCF71 is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 86.0% C 0.119 H 92.6°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#ECCF71
RGBrgb(236, 207, 113)
HSLhsl(46, 76%, 68%)
HSVhsv(46, 52%, 93%)
CMYKcmyk(0%, 12.3%, 52.1%, 7.5%)
CIE-LABlab(83.78, -1.46, 49.98)
CIE-LCHlch(83.78, 50.00, 91.67°)
OKLaboklab(85.98% -0.0054 0.1184)
OKLCHoklch(85.98% 0.119 92.6)
XYZxyz(59.8877, 63.6535, 24.7514)
Luminance0.6365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF71 #718EEC
analogous
#EC9171 #ECCF71 #CBEC71
triadic
#ECCF71 #71ECCF #CF71EC
tetradic
#ECCF71 #71EC91 #718EEC #EC71CB
square
#ECCF71 #71EC91 #718EEC #EC71CB
split-complementary
#ECCF71 #71CBEC #9171EC
monochromatic
#C89F1B #E5BD3B #ECCF71 #F3E1A7 #FAF3DD

Accessibility & contrast

On white

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

On black

13.73
#ECCF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF71
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF71#FFFFFF#000000##000000
##ECCF711.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC69
Deuteranopia (green-blind)
#E8D575
Tritanopia (blue-blind)
#FCC2B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eccf71;
/* rgb */ color: rgb(236, 207, 113);
/* oklch */ color: oklch(86.0% 0.119 92.6);
Tailwind
colors: {
  custom: {
    50: '#f4dd9c',
    500: '#eccf71',
    950: '#000000',
  },
}
SCSS
$custom: #eccf71;
$custom-light: #f4dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf71",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 45.854,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85979,
    "c": 0.11855,
    "h": 92.6
  },
  "luminance": 0.63651
}

Semantic roles & 50–950 ramp

primary
#ECCF71
secondary
#3D5DC4
accent
#3DD90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCF71

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

Preview Lab → · Contrast checker → · Palette generator →

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