#ECCB5C#ECCB5C

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

Color values

HEX#ECCB5C
RGBrgb(236, 203, 92)
HSLhsl(46, 79%, 64%)
HSVhsv(46, 61%, 93%)
CMYKcmyk(0%, 14%, 61%, 7.5%)
CIE-LABlab(82.55, -0.98, 58.33)
CIE-LCHlch(82.55, 58.34, 90.96°)
OKLaboklab(84.93% -0.0065 0.1342)
OKLCHoklch(84.93% 0.134 92.8)
XYZxyz(57.8824, 61.3204, 18.9103)
Luminance0.6132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB5C #5C7DEC
analogous
#EC835C #ECCB5C #C5EC5C
triadic
#ECCB5C #5CECCB #CB5CEC
tetradic
#ECCB5C #5CEC83 #5C7DEC #EC5CC5
square
#ECCB5C #5CEC83 #5C7DEC #EC5CC5
split-complementary
#ECCB5C #5CC5EC #835CEC
monochromatic
#B89315 #E6BA25 #ECCB5C #F2DC93 #F9EECA

Accessibility & contrast

On white

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

On black

13.26
#ECCB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB5C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB5C#FFFFFF#000000##000000
##ECCB5C1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC850
Deuteranopia (green-blind)
#E7D261
Tritanopia (blue-blind)
#FEBDB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb5c;
/* rgb */ color: rgb(236, 203, 92);
/* oklch */ color: oklch(84.9% 0.134 92.8);
Tailwind
colors: {
  custom: {
    50: '#f5da8e',
    500: '#eccb5c',
    950: '#000000',
  },
}
SCSS
$custom: #eccb5c;
$custom-light: #f5da8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb5c",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 92
  },
  "hsl": {
    "h": 46.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84932,
    "c": 0.13435,
    "h": 92.8
  },
  "luminance": 0.61317
}

Semantic roles & 50–950 ramp

primary
#ECCB5C
secondary
#3553B8
accent
#3ADB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECCB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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