#ECCB59#ECCB59

#ECCB59 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.9% C 0.137 H 93.1°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#ECCB59
RGBrgb(236, 203, 89)
HSLhsl(47, 79%, 64%)
HSVhsv(47, 62%, 93%)
CMYKcmyk(0%, 14%, 62.3%, 7.5%)
CIE-LABlab(82.52, -1.17, 59.63)
CIE-LCHlch(82.52, 59.64, 91.13°)
OKLaboklab(84.9% -0.0074 0.1366)
OKLCHoklch(84.9% 0.137 93.1)
XYZxyz(57.7539, 61.2690, 18.2333)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB59 #597AEC
analogous
#EC8159 #ECCB59 #C3EC59
triadic
#ECCB59 #59ECCB #CB59EC
tetradic
#ECCB59 #59EC81 #597AEC #EC59C3
square
#ECCB59 #59EC81 #597AEC #EC59C3
split-complementary
#ECCB59 #59C3EC #8159EC
monochromatic
#B69215 #E6BA22 #ECCB59 #F2DC90 #F9EDC7

Accessibility & contrast

On white

1.58
#ECCB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#ECCB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB59
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB59#FFFFFF#000000##000000
##ECCB591.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#FEBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb59;
/* rgb */ color: rgb(236, 203, 89);
/* oklch */ color: oklch(84.9% 0.137 93.1);
Tailwind
colors: {
  custom: {
    50: '#f5da8c',
    500: '#eccb59',
    950: '#000000',
  },
}
SCSS
$custom: #eccb59;
$custom-light: #f5da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb59",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 46.531,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84902,
    "c": 0.13676,
    "h": 93.1
  },
  "luminance": 0.61266
}

Semantic roles & 50–950 ramp

primary
#ECCB59
secondary
#3451B5
accent
#39DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCB59

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

Preview Lab → · Contrast checker → · Palette generator →

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