#CCB66B#CCB66B

#CCB66B is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.098 H 93.5°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#CCB66B
RGBrgb(204, 182, 107)
HSLhsl(46, 49%, 61%)
HSVhsv(46, 48%, 80%)
CMYKcmyk(0%, 10.8%, 47.5%, 20%)
CIE-LABlab(74.42, -2.11, 40.86)
CIE-LCHlch(74.42, 40.92, 92.95°)
OKLaboklab(77.88% -0.0061 0.0983)
OKLCHoklch(77.88% 0.098 93.5)
XYZxyz(44.2850, 47.3566, 20.7151)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB66B #6B81CC
analogous
#CC856B #CCB66B #B1CC6B
triadic
#CCB66B #6BCCB6 #B66BCC
tetradic
#CCB66B #6BCC85 #6B81CC #CC6BB1
square
#CCB66B #6BCC85 #6B81CC #CC6BB1
split-complementary
#CCB66B #6BB1CC #856BCC
monochromatic
#8C7730 #BA9E40 #CCB66B #DCCC99 #EBE3C6

Accessibility & contrast

On white

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

On black

10.47
#CCB66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB66B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB66B#FFFFFF#000000##000000
##CCB66B1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B365
Deuteranopia (green-blind)
#CABA6E
Tritanopia (blue-blind)
#D9ABA4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb66b;
/* rgb */ color: rgb(204, 182, 107);
/* oklch */ color: oklch(77.9% 0.098 93.5);
Tailwind
colors: {
  custom: {
    50: '#ddcb97',
    500: '#ccb66b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb66b;
$custom-light: #ddcb97;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb66b",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 107
  },
  "hsl": {
    "h": 46.392,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.77878,
    "c": 0.09844,
    "h": 93.5
  },
  "luminance": 0.47355
}

Semantic roles & 50–950 ramp

primary
#CCB66B
secondary
#B7BFDC
accent
#4BBC29
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB66B

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

Preview Lab → · Contrast checker → · Palette generator →

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