#ECCB5B#ECCB5B

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

Color values

HEX#ECCB5B
RGBrgb(236, 203, 91)
HSLhsl(46, 79%, 64%)
HSVhsv(46, 61%, 93%)
CMYKcmyk(0%, 14%, 61.4%, 7.5%)
CIE-LABlab(82.54, -1.04, 58.76)
CIE-LCHlch(82.54, 58.77, 91.02°)
OKLaboklab(84.92% -0.0068 0.135)
OKLCHoklch(84.92% 0.135 92.9)
XYZxyz(57.8390, 61.3031, 18.6816)
Luminance0.6130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB5B #5B7CEC
analogous
#EC835B #ECCB5B #C5EC5B
triadic
#ECCB5B #5BECCB #CB5BEC
tetradic
#ECCB5B #5BEC83 #5B7CEC #EC5BC5
square
#ECCB5B #5BEC83 #5B7CEC #EC5BC5
split-complementary
#ECCB5B #5BC5EC #835BEC
monochromatic
#B79215 #E6BA24 #ECCB5B #F2DC92 #F9EEC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCB5B#FFFFFF#000000##000000
##ECCB5B1.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)
#DFC84F
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#FEBCB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb5b;
/* rgb */ color: rgb(236, 203, 91);
/* oklch */ color: oklch(84.9% 0.135 92.9);
Tailwind
colors: {
  custom: {
    50: '#f5da8d',
    500: '#eccb5b',
    950: '#000000',
  },
}
SCSS
$custom: #eccb5b;
$custom-light: #f5da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb5b",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 46.345,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84922,
    "c": 0.13516,
    "h": 92.9
  },
  "luminance": 0.613
}

Semantic roles & 50–950 ramp

primary
#ECCB5B
secondary
#3452B7
accent
#3ADC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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