#ECCB58#ECCB58

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

Color values

HEX#ECCB58
RGBrgb(236, 203, 88)
HSLhsl(47, 80%, 64%)
HSVhsv(47, 63%, 93%)
CMYKcmyk(0%, 14%, 62.7%, 7.5%)
CIE-LABlab(82.51, -1.23, 60.06)
CIE-LCHlch(82.51, 60.07, 91.18°)
OKLaboklab(84.89% -0.0077 0.1373)
OKLCHoklch(84.89% 0.138 93.2)
XYZxyz(57.7122, 61.2523, 18.0137)
Luminance0.6125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB58 #5879EC
analogous
#EC8158 #ECCB58 #C3EC58
triadic
#ECCB58 #58ECCB #CB58EC
tetradic
#ECCB58 #58EC81 #5879EC #EC58C3
square
#ECCB58 #58EC81 #5879EC #EC58C3
split-complementary
#ECCB58 #58C3EC #8158EC
monochromatic
#B59115 #E6BA21 #ECCB58 #F2DC8F #F9EDC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCB58#FFFFFF#000000##000000
##ECCB581.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)
#DFC84B
Deuteranopia (green-blind)
#E7D25D
Tritanopia (blue-blind)
#FEBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb58;
/* rgb */ color: rgb(236, 203, 88);
/* oklch */ color: oklch(84.9% 0.138 93.2);
Tailwind
colors: {
  custom: {
    50: '#f6da8c',
    500: '#eccb58',
    950: '#000000',
  },
}
SCSS
$custom: #eccb58;
$custom-light: #f6da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb58",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 46.622,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84892,
    "c": 0.13756,
    "h": 93.2
  },
  "luminance": 0.61249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECCB58

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

Preview Lab → · Contrast checker → · Palette generator →

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