#CCBB74#CCBB74

#CCBB74 is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.093 H 96.3°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CCBB74
RGBrgb(204, 187, 116)
HSLhsl(48, 46%, 63%)
HSVhsv(48, 43%, 80%)
CMYKcmyk(0%, 8.3%, 43.1%, 20%)
CIE-LABlab(75.85, -3.83, 38.07)
CIE-LCHlch(75.85, 38.27, 95.74°)
OKLaboklab(79.05% -0.0102 0.0925)
OKLCHoklch(79.05% 0.093 96.3)
XYZxyz(45.8257, 49.6406, 23.6873)
Luminance0.4964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB74 #7485CC
analogous
#CC8F74 #CCBB74 #B1CC74
triadic
#CCBB74 #74CCBB #BB74CC
tetradic
#CCBB74 #74CC8F #7485CC #CC74B1
square
#CCBB74 #74CC8F #7485CC #CC74B1
split-complementary
#CCBB74 #74B1CC #8F74CC
monochromatic
#917F35 #BCA547 #CCBB74 #DCD1A1 #EDE7CE

Accessibility & contrast

On white

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

On black

10.93
#CCBB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB74
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB74#FFFFFF#000000##000000
##CCBB741.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B86F
Deuteranopia (green-blind)
#CDBD77
Tritanopia (blue-blind)
#D8B1AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb74;
/* rgb */ color: rgb(204, 187, 116);
/* oklch */ color: oklch(79.0% 0.093 96.3);
Tailwind
colors: {
  custom: {
    50: '#ddcf9d',
    500: '#ccbb74',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb74;
$custom-light: #ddcf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb74",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 116
  },
  "hsl": {
    "h": 48.409,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.7905,
    "c": 0.09309,
    "h": 96.3
  },
  "luminance": 0.49639
}

Semantic roles & 50–950 ramp

primary
#CCBB74
secondary
#BEC4DE
accent
#47BA2C
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCBB74

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

Preview Lab → · Contrast checker → · Palette generator →

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