#CCB875#CCB875

#CCB875 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.089 H 93.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CCB875
RGBrgb(204, 184, 117)
HSLhsl(46, 46%, 63%)
HSVhsv(46, 43%, 80%)
CMYKcmyk(0%, 9.8%, 42.6%, 20%)
CIE-LABlab(75.08, -2.15, 36.58)
CIE-LCHlch(75.08, 36.64, 93.37°)
OKLaboklab(78.45% -0.0053 0.0892)
OKLCHoklch(78.45% 0.089 93.4)
XYZxyz(45.2544, 48.4044, 23.7854)
Luminance0.4840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB875 #7589CC
analogous
#CC8C75 #CCB875 #B4CC75
triadic
#CCB875 #75CCB8 #B875CC
tetradic
#CCB875 #75CC8C #7589CC #CC75B4
square
#CCB875 #75CC8C #7589CC #CC75B4
split-complementary
#CCB875 #75B4CC #8C75CC
monochromatic
#917C36 #BBA148 #CCB875 #DDCFA2 #EDE6CE

Accessibility & contrast

On white

1.97
#CCB875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CCB875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB875
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB875#FFFFFF#000000##000000
##CCB8751.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B570
Deuteranopia (green-blind)
#CABB77
Tritanopia (blue-blind)
#D8AEA7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb875;
/* rgb */ color: rgb(204, 184, 117);
/* oklch */ color: oklch(78.4% 0.089 93.4);
Tailwind
colors: {
  custom: {
    50: '#ddcd9d',
    500: '#ccb875',
    950: '#000000',
  },
}
SCSS
$custom: #ccb875;
$custom-light: #ddcd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb875",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 117
  },
  "hsl": {
    "h": 46.207,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.78447,
    "c": 0.08936,
    "h": 93.4
  },
  "luminance": 0.48403
}

Semantic roles & 50–950 ramp

primary
#CCB875
secondary
#BFC6DE
accent
#4DB92C
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB875

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

Preview Lab → · Contrast checker → · Palette generator →

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