#CCB866#CCB866

#CCB866 is a light, moderate yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.105 H 96.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CCB866
RGBrgb(204, 184, 102)
HSLhsl(48, 50%, 60%)
HSVhsv(48, 50%, 80%)
CMYKcmyk(0%, 9.8%, 50%, 20%)
CIE-LABlab(74.88, -3.62, 43.93)
CIE-LCHlch(74.88, 44.08, 94.71°)
OKLaboklab(78.22% -0.011 0.1047)
OKLCHoklch(78.22% 0.105 96)
XYZxyz(44.4420, 48.0794, 19.5071)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB866 #667ACC
analogous
#CC8566 #CCB866 #ADCC66
triadic
#CCB866 #66CCB8 #B866CC
tetradic
#CCB866 #66CC85 #667ACC #CC66AD
square
#CCB866 #66CC85 #667ACC #CC66AD
split-complementary
#CCB866 #66ADCC #8566CC
monochromatic
#8A782E #B8A03D #CCB866 #DBCD94 #EBE3C2

Accessibility & contrast

On white

1.98
#CCB866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CCB866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB866
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB866#FFFFFF#000000##000000
##CCB8661.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45F
Deuteranopia (green-blind)
#CCBB69
Tritanopia (blue-blind)
#DAADA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb866;
/* rgb */ color: rgb(204, 184, 102);
/* oklch */ color: oklch(78.2% 0.105 96.0);
Tailwind
colors: {
  custom: {
    50: '#ddcd93',
    500: '#ccb866',
    950: '#000000',
  },
}
SCSS
$custom: #ccb866;
$custom-light: #ddcd93;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb866",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 102
  },
  "hsl": {
    "h": 48.235,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.78219,
    "c": 0.10527,
    "h": 96
  },
  "luminance": 0.48078
}

Semantic roles & 50–950 ramp

primary
#CCB866
secondary
#B3BBDB
accent
#6ADA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB866

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

Preview Lab → · Contrast checker → · Palette generator →

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