#ECCB61#ECCB61

#ECCB61 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 85.0% C 0.130 H 92.2°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#ECCB61
RGBrgb(236, 203, 97)
HSLhsl(46, 79%, 65%)
HSVhsv(46, 59%, 93%)
CMYKcmyk(0%, 14%, 58.9%, 7.5%)
CIE-LABlab(82.60, -0.63, 56.12)
CIE-LCHlch(82.60, 56.12, 90.65°)
OKLaboklab(84.99% -0.0049 0.1301)
OKLCHoklch(84.99% 0.13 92.2)
XYZxyz(58.1082, 61.4108, 20.0997)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB61 #6182EC
analogous
#EC8561 #ECCB61 #C8EC61
triadic
#ECCB61 #61ECCB #CB61EC
tetradic
#ECCB61 #61EC85 #6182EC #EC61C8
square
#ECCB61 #61EC85 #6182EC #EC61C8
split-complementary
#ECCB61 #61C8EC #8561EC
monochromatic
#BC9517 #E5B92A #ECCB61 #F3DD98 #F9EFCE

Accessibility & contrast

On white

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

On black

13.28
#ECCB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB61
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB61#FFFFFF#000000##000000
##ECCB611.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC856
Deuteranopia (green-blind)
#E6D266
Tritanopia (blue-blind)
#FDBDB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eccb61;
/* rgb */ color: rgb(236, 203, 97);
/* oklch */ color: oklch(85.0% 0.130 92.2);
Tailwind
colors: {
  custom: {
    50: '#f5da91',
    500: '#eccb61',
    950: '#000000',
  },
}
SCSS
$custom: #eccb61;
$custom-light: #f5da91;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb61",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 97
  },
  "hsl": {
    "h": 45.755,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.84986,
    "c": 0.13018,
    "h": 92.2
  },
  "luminance": 0.61408
}

Semantic roles & 50–950 ramp

primary
#ECCB61
secondary
#3656BB
accent
#3CDB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #ECCB61

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

Preview Lab → · Contrast checker → · Palette generator →

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