#CCB960#CCB960

#CCB960 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.112 H 97.5°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CCB960
RGBrgb(204, 185, 96)
HSLhsl(49, 51%, 59%)
HSVhsv(49, 53%, 80%)
CMYKcmyk(0%, 9.3%, 52.9%, 20%)
CIE-LABlab(75.06, -4.67, 47.11)
CIE-LCHlch(75.06, 47.34, 95.66°)
OKLaboklab(78.35% -0.0147 0.1111)
OKLCHoklch(78.35% 0.112 97.5)
XYZxyz(44.3636, 48.3816, 18.0658)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB960 #6073CC
analogous
#CC8360 #CCB960 #A9CC60
triadic
#CCB960 #60CCB9 #B960CC
tetradic
#CCB960 #60CC83 #6073CC #CC60A9
square
#CCB960 #60CC83 #6073CC #CC60A9
split-complementary
#CCB960 #60A9CC #8360CC
monochromatic
#86762B #B59F3A #CCB960 #DBCD8E #EAE2BD

Accessibility & contrast

On white

1.97
#CCB960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CCB960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB960
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB960#FFFFFF#000000##000000
##CCB9601.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B558
Deuteranopia (green-blind)
#CDBC64
Tritanopia (blue-blind)
#DAAEA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb960;
/* rgb */ color: rgb(204, 185, 96);
/* oklch */ color: oklch(78.3% 0.112 97.5);
Tailwind
colors: {
  custom: {
    50: '#decd8f',
    500: '#ccb960',
    950: '#000000',
  },
}
SCSS
$custom: #ccb960;
$custom-light: #decd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb960",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 96
  },
  "hsl": {
    "h": 49.444,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78346,
    "c": 0.1121,
    "h": 97.5
  },
  "luminance": 0.4838
}

Semantic roles & 50–950 ramp

primary
#CCB960
secondary
#AFB6D9
accent
#66DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CCB960

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

Preview Lab → · Contrast checker → · Palette generator →

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