#ECCF59#ECCF59

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

Color values

HEX#ECCF59
RGBrgb(236, 207, 89)
HSLhsl(48, 79%, 64%)
HSVhsv(48, 62%, 93%)
CMYKcmyk(0%, 12.3%, 62.3%, 7.5%)
CIE-LABlab(83.54, -3.22, 60.74)
CIE-LCHlch(83.54, 60.83, 93.04°)
OKLaboklab(85.7% -0.0133 0.1389)
OKLCHoklch(85.7% 0.14 95.5)
XYZxyz(58.7107, 63.1827, 18.5523)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF59 #5976EC
analogous
#EC8559 #ECCF59 #BFEC59
triadic
#ECCF59 #59ECCF #CF59EC
tetradic
#ECCF59 #59EC85 #5976EC #EC59BF
square
#ECCF59 #59EC85 #5976EC #EC59BF
split-complementary
#ECCF59 #59BFEC #8559EC
monochromatic
#B69615 #E6BF22 #ECCF59 #F2DF90 #F9EFC7

Accessibility & contrast

On white

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

On black

13.64
#ECCF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF59
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF59#FFFFFF#000000##000000
##ECCF591.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4C
Deuteranopia (green-blind)
#EAD45F
Tritanopia (blue-blind)
#FEC0B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccf59;
/* rgb */ color: rgb(236, 207, 89);
/* oklch */ color: oklch(85.7% 0.140 95.5);
Tailwind
colors: {
  custom: {
    50: '#f5dd8c',
    500: '#eccf59',
    950: '#000000',
  },
}
SCSS
$custom: #eccf59;
$custom-light: #f5dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf59",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 48.163,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85704,
    "c": 0.13956,
    "h": 95.5
  },
  "luminance": 0.6318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECCF59

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

Preview Lab → · Contrast checker → · Palette generator →

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