#CCB666#CCB666

#CCB666 is a light, moderate yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.104 H 94.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#CCB666
RGBrgb(204, 182, 102)
HSLhsl(47, 50%, 60%)
HSVhsv(47, 50%, 80%)
CMYKcmyk(0%, 10.8%, 50%, 20%)
CIE-LABlab(74.35, -2.57, 43.30)
CIE-LCHlch(74.35, 43.37, 93.40°)
OKLaboklab(77.81% -0.008 0.1033)
OKLCHoklch(77.81% 0.104 94.4)
XYZxyz(44.0295, 47.2544, 19.3696)
Luminance0.4725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB666 #667CCC
analogous
#CC8366 #CCB666 #AFCC66
triadic
#CCB666 #66CCB6 #B666CC
tetradic
#CCB666 #66CC83 #667CCC #CC66AF
square
#CCB666 #66CC83 #667CCC #CC66AF
split-complementary
#CCB666 #66AFCC #8366CC
monochromatic
#8A762E #B89D3D #CCB666 #DBCC94 #EBE2C2

Accessibility & contrast

On white

2.01
#CCB666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#CCB666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB666
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB666#FFFFFF#000000##000000
##CCB6661.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B35F
Deuteranopia (green-blind)
#CBBA69
Tritanopia (blue-blind)
#DAABA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb666;
/* rgb */ color: rgb(204, 182, 102);
/* oklch */ color: oklch(77.8% 0.104 94.4);
Tailwind
colors: {
  custom: {
    50: '#ddcb93',
    500: '#ccb666',
    950: '#000000',
  },
}
SCSS
$custom: #ccb666;
$custom-light: #ddcb93;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb666",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 102
  },
  "hsl": {
    "h": 47.059,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.77806,
    "c": 0.1036,
    "h": 94.4
  },
  "luminance": 0.47253
}

Semantic roles & 50–950 ramp

primary
#CCB666
secondary
#B3BCDB
accent
#6CDA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB666

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

Preview Lab → · Contrast checker → · Palette generator →

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