#CCBB70#CCBB70

#CCBB70 is a light, moderate yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.097 H 96.9°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CCBB70
RGBrgb(204, 187, 112)
HSLhsl(49, 47%, 62%)
HSVhsv(49, 45%, 80%)
CMYKcmyk(0%, 8.3%, 45.1%, 20%)
CIE-LABlab(75.79, -4.24, 40.04)
CIE-LCHlch(75.79, 40.26, 96.04°)
OKLaboklab(78.99% -0.0118 0.0967)
OKLCHoklch(78.99% 0.097 96.9)
XYZxyz(45.5980, 49.5495, 22.4882)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB70 #7081CC
analogous
#CC8D70 #CCBB70 #AFCC70
triadic
#CCBB70 #70CCBB #BB70CC
tetradic
#CCBB70 #70CC8D #7081CC #CC70AF
square
#CCBB70 #70CC8D #7081CC #CC70AF
split-complementary
#CCBB70 #70AFCC #8D70CC
monochromatic
#8F7E33 #BCA543 #CCBB70 #DCD09D #ECE6CA

Accessibility & contrast

On white

1.92
#CCBB70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CCBB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB70
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB70#FFFFFF#000000##000000
##CCBB701.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B76A
Deuteranopia (green-blind)
#CDBD73
Tritanopia (blue-blind)
#D9B1A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb70;
/* rgb */ color: rgb(204, 187, 112);
/* oklch */ color: oklch(79.0% 0.097 96.9);
Tailwind
colors: {
  custom: {
    50: '#ddcf9a',
    500: '#ccbb70',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb70;
$custom-light: #ddcf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb70",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 112
  },
  "hsl": {
    "h": 48.913,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78987,
    "c": 0.09745,
    "h": 96.9
  },
  "luminance": 0.49548
}

Semantic roles & 50–950 ramp

primary
#CCBB70
secondary
#BBC1DD
accent
#45BB2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCBB70

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

Preview Lab → · Contrast checker → · Palette generator →

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