#CCB975#CCB975

#CCB975 is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.090 H 94.3°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CCB975
RGBrgb(204, 185, 117)
HSLhsl(47, 46%, 63%)
HSVhsv(47, 43%, 80%)
CMYKcmyk(0%, 9.3%, 42.6%, 20%)
CIE-LABlab(75.34, -2.68, 36.91)
CIE-LCHlch(75.34, 37.01, 94.15°)
OKLaboklab(78.65% -0.0068 0.09)
OKLCHoklch(78.65% 0.09 94.3)
XYZxyz(45.4628, 48.8213, 23.8548)
Luminance0.4882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB975 #7588CC
analogous
#CC8E75 #CCB975 #B3CC75
triadic
#CCB975 #75CCB9 #B975CC
tetradic
#CCB975 #75CC8E #7588CC #CC75B3
square
#CCB975 #75CC8E #7588CC #CC75B3
split-complementary
#CCB975 #75B3CC #8E75CC
monochromatic
#917D36 #BBA248 #CCB975 #DDD0A2 #EDE6CE

Accessibility & contrast

On white

1.95
#CCB975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#CCB975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB975
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB975#FFFFFF#000000##000000
##CCB9751.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B670
Deuteranopia (green-blind)
#CBBC77
Tritanopia (blue-blind)
#D8AFA8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccb975;
/* rgb */ color: rgb(204, 185, 117);
/* oklch */ color: oklch(78.7% 0.090 94.3);
Tailwind
colors: {
  custom: {
    50: '#ddcd9e',
    500: '#ccb975',
    950: '#000000',
  },
}
SCSS
$custom: #ccb975;
$custom-light: #ddcd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb975",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 117
  },
  "hsl": {
    "h": 46.897,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.78653,
    "c": 0.09021,
    "h": 94.3
  },
  "luminance": 0.4882
}

Semantic roles & 50–950 ramp

primary
#CCB975
secondary
#BFC6DE
accent
#4BB92C
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB975

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

Preview Lab → · Contrast checker → · Palette generator →

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