#ECCF58#ECCF58

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

Color values

HEX#ECCF58
RGBrgb(236, 207, 88)
HSLhsl(48, 80%, 64%)
HSVhsv(48, 63%, 93%)
CMYKcmyk(0%, 12.3%, 62.7%, 7.5%)
CIE-LABlab(83.53, -3.28, 61.16)
CIE-LCHlch(83.53, 61.25, 93.07°)
OKLaboklab(85.7% -0.0136 0.1397)
OKLCHoklch(85.7% 0.14 95.6)
XYZxyz(58.6690, 63.1660, 18.3326)
Luminance0.6316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF58 #5875EC
analogous
#EC8558 #ECCF58 #BFEC58
triadic
#ECCF58 #58ECCF #CF58EC
tetradic
#ECCF58 #58EC85 #5875EC #EC58BF
square
#ECCF58 #58EC85 #5875EC #EC58BF
split-complementary
#ECCF58 #58BFEC #8558EC
monochromatic
#B59615 #E6BF21 #ECCF58 #F2DF8F #F9EFC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCF58#FFFFFF#000000##000000
##ECCF581.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)
#E3CB4A
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#FEC0B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccf58;
/* rgb */ color: rgb(236, 207, 88);
/* oklch */ color: oklch(85.7% 0.140 95.6);
Tailwind
colors: {
  custom: {
    50: '#f5dd8c',
    500: '#eccf58',
    950: '#000000',
  },
}
SCSS
$custom: #eccf58;
$custom-light: #f5dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf58",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 48.243,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85695,
    "c": 0.14035,
    "h": 95.6
  },
  "luminance": 0.63163
}

Semantic roles & 50–950 ramp

primary
#ECCF58
secondary
#334DB5
accent
#33DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCF58

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

Preview Lab → · Contrast checker → · Palette generator →

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