#CCBC61#CCBC61

#CCBC61 is a light, moderate yellow. Relative luminance 0.497; OKLCH L 79.0% C 0.114 H 99.5°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CCBC61
RGBrgb(204, 188, 97)
HSLhsl(51, 51%, 59%)
HSVhsv(51, 52%, 80%)
CMYKcmyk(0%, 7.8%, 52.5%, 20%)
CIE-LABlab(75.87, -6.15, 47.57)
CIE-LCHlch(75.87, 47.97, 97.36°)
OKLaboklab(78.98% -0.0188 0.1122)
OKLCHoklch(78.98% 0.114 99.5)
XYZxyz(45.0442, 49.6686, 18.5212)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC61 #6171CC
analogous
#CC8761 #CCBC61 #A7CC61
triadic
#CCBC61 #61CCBC #BC61CC
tetradic
#CCBC61 #61CC87 #6171CC #CC61A7
square
#CCBC61 #61CC87 #6171CC #CC61A7
split-complementary
#CCBC61 #61A7CC #8761CC
monochromatic
#87792C #B5A33B #CCBC61 #DBD08F #EAE3BE

Accessibility & contrast

On white

1.92
#CCBC61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CCBC61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC61
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC61#FFFFFF#000000##000000
##CCBC611.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB759
Deuteranopia (green-blind)
#D0BE65
Tritanopia (blue-blind)
#DAB1A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc61;
/* rgb */ color: rgb(204, 188, 97);
/* oklch */ color: oklch(79.0% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#decf90',
    500: '#ccbc61',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc61;
$custom-light: #decf90;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc61",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 97
  },
  "hsl": {
    "h": 51.028,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78984,
    "c": 0.11381,
    "h": 99.5
  },
  "luminance": 0.49667
}

Semantic roles & 50–950 ramp

primary
#CCBC61
secondary
#AFB6D9
accent
#62DB4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBC61

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

Preview Lab → · Contrast checker → · Palette generator →

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