#CCB970#CCB970

#CCB970 is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.096 H 95.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CCB970
RGBrgb(204, 185, 112)
HSLhsl(48, 47%, 62%)
HSVhsv(48, 45%, 80%)
CMYKcmyk(0%, 9.3%, 45.1%, 20%)
CIE-LABlab(75.27, -3.19, 39.39)
CIE-LCHlch(75.27, 39.51, 94.63°)
OKLaboklab(78.57% -0.0087 0.0953)
OKLCHoklch(78.57% 0.096 95.2)
XYZxyz(45.1767, 48.7068, 22.3478)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB970 #7083CC
analogous
#CC8B70 #CCB970 #B1CC70
triadic
#CCB970 #70CCB9 #B970CC
tetradic
#CCB970 #70CC8B #7083CC #CC70B1
square
#CCB970 #70CC8B #7083CC #CC70B1
split-complementary
#CCB970 #70B1CC #8B70CC
monochromatic
#8F7C33 #BCA343 #CCB970 #DCCF9D #ECE5CA

Accessibility & contrast

On white

1.96
#CCB970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CCB970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB970
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB970#FFFFFF#000000##000000
##CCB9701.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66A
Deuteranopia (green-blind)
#CCBC73
Tritanopia (blue-blind)
#D9AFA7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb970;
/* rgb */ color: rgb(204, 185, 112);
/* oklch */ color: oklch(78.6% 0.096 95.2);
Tailwind
colors: {
  custom: {
    50: '#ddcd9a',
    500: '#ccb970',
    950: '#000000',
  },
}
SCSS
$custom: #ccb970;
$custom-light: #ddcd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb970",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 47.609,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78573,
    "c": 0.09566,
    "h": 95.2
  },
  "luminance": 0.48705
}

Semantic roles & 50–950 ramp

primary
#CCB970
secondary
#BBC2DD
accent
#49BB2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB970

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

Preview Lab → · Contrast checker → · Palette generator →

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