#CCB366#CCB366

#CCB366 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.101 H 91.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CCB366
RGBrgb(204, 179, 102)
HSLhsl(45, 50%, 60%)
HSVhsv(45, 50%, 80%)
CMYKcmyk(0%, 12.3%, 50%, 20%)
CIE-LABlab(73.57, -0.99, 42.34)
CIE-LCHlch(73.57, 42.36, 91.34°)
OKLaboklab(77.19% -0.0034 0.1012)
OKLCHoklch(77.19% 0.101 91.9)
XYZxyz(43.4217, 46.0388, 19.1670)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB366 #667FCC
analogous
#CC8066 #CCB366 #B2CC66
triadic
#CCB366 #66CCB3 #B366CC
tetradic
#CCB366 #66CC80 #667FCC #CC66B2
square
#CCB366 #66CC80 #667FCC #CC66B2
split-complementary
#CCB366 #66B2CC #8066CC
monochromatic
#8A732E #B89A3D #CCB366 #DBCA94 #EBE1C2

Accessibility & contrast

On white

2.06
#CCB366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#CCB366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB366
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB366#FFFFFF#000000##000000
##CCB3661.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B060
Deuteranopia (green-blind)
#C8B869
Tritanopia (blue-blind)
#DAA8A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb366;
/* rgb */ color: rgb(204, 179, 102);
/* oklch */ color: oklch(77.2% 0.101 91.9);
Tailwind
colors: {
  custom: {
    50: '#dec993',
    500: '#ccb366',
    950: '#000000',
  },
}
SCSS
$custom: #ccb366;
$custom-light: #dec993;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb366",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 45.294,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.77189,
    "c": 0.10124,
    "h": 91.9
  },
  "luminance": 0.46037
}

Semantic roles & 50–950 ramp

primary
#CCB366
secondary
#B3BDDB
accent
#70DA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB366

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

Preview Lab → · Contrast checker → · Palette generator →

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