#ECCF62#ECCF62

#ECCF62 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.8% C 0.132 H 94.6°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#ECCF62
RGBrgb(236, 207, 98)
HSLhsl(47, 78%, 65%)
HSVhsv(47, 58%, 93%)
CMYKcmyk(0%, 12.3%, 58.5%, 7.5%)
CIE-LABlab(83.62, -2.62, 56.83)
CIE-LCHlch(83.62, 56.89, 92.64°)
OKLaboklab(85.8% -0.0105 0.1317)
OKLCHoklch(85.8% 0.132 94.6)
XYZxyz(59.1120, 63.3432, 20.6657)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF62 #627FEC
analogous
#EC8A62 #ECCF62 #C4EC62
triadic
#ECCF62 #62ECCF #CF62EC
tetradic
#ECCF62 #62EC8A #627FEC #EC62C4
square
#ECCF62 #62EC8A #627FEC #EC62C4
split-complementary
#ECCF62 #62C4EC #8A62EC
monochromatic
#BD9A17 #E5BE2B #ECCF62 #F3E099 #F9F0CF

Accessibility & contrast

On white

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

On black

13.67
#ECCF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF62
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF62#FFFFFF#000000##000000
##ECCF621.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#FDC1B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccf62;
/* rgb */ color: rgb(236, 207, 98);
/* oklch */ color: oklch(85.8% 0.132 94.6);
Tailwind
colors: {
  custom: {
    50: '#f5dd92',
    500: '#eccf62',
    950: '#000000',
  },
}
SCSS
$custom: #eccf62;
$custom-light: #f5dd92;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf62",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 47.391,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85798,
    "c": 0.13215,
    "h": 94.6
  },
  "luminance": 0.6334
}

Semantic roles & 50–950 ramp

primary
#ECCF62
secondary
#3753BC
accent
#37DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECCF62

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

Preview Lab → · Contrast checker → · Palette generator →

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