#ECCF56#ECCF56

#ECCF56 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.7% C 0.142 H 95.7°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#ECCF56
RGBrgb(236, 207, 86)
HSLhsl(48, 80%, 63%)
HSVhsv(48, 64%, 93%)
CMYKcmyk(0%, 12.3%, 63.6%, 7.5%)
CIE-LABlab(83.51, -3.41, 62.01)
CIE-LCHlch(83.51, 62.10, 93.15°)
OKLaboklab(85.68% -0.0142 0.1412)
OKLCHoklch(85.68% 0.142 95.7)
XYZxyz(58.5873, 63.1333, 17.9023)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF56 #5673EC
analogous
#EC8456 #ECCF56 #BEEC56
triadic
#ECCF56 #56ECCF #CF56EC
tetradic
#ECCF56 #56EC84 #5673EC #EC56BE
square
#ECCF56 #56EC84 #5673EC #EC56BE
split-complementary
#ECCF56 #56BEEC #8456EC
monochromatic
#B39514 #E6BF1F #ECCF56 #F2DF8D #F8EEC4

Accessibility & contrast

On white

1.54
#ECCF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#ECCF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF56
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF56#FFFFFF#000000##000000
##ECCF561.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#FEC0B5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccf56;
/* rgb */ color: rgb(236, 207, 86);
/* oklch */ color: oklch(85.7% 0.142 95.7);
Tailwind
colors: {
  custom: {
    50: '#f6dd8b',
    500: '#eccf56',
    950: '#000000',
  },
}
SCSS
$custom: #eccf56;
$custom-light: #f6dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf56",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 48.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85675,
    "c": 0.1419,
    "h": 95.7
  },
  "luminance": 0.6313
}

Semantic roles & 50–950 ramp

primary
#ECCF56
secondary
#334CB3
accent
#32DC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCF56

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

Preview Lab → · Contrast checker → · Palette generator →

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