#CCB877#CCB877

#CCB877 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.087 H 92.9°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CCB877
RGBrgb(204, 184, 119)
HSLhsl(46, 45%, 63%)
HSVhsv(46, 42%, 80%)
CMYKcmyk(0%, 9.8%, 41.7%, 20%)
CIE-LABlab(75.11, -1.94, 35.59)
CIE-LCHlch(75.11, 35.64, 93.12°)
OKLaboklab(78.48% -0.0045 0.087)
OKLCHoklch(78.48% 0.087 92.9)
XYZxyz(45.3732, 48.4519, 24.4113)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB877 #778BCC
analogous
#CC8D77 #CCB877 #B6CC77
triadic
#CCB877 #77CCB8 #B877CC
tetradic
#CCB877 #77CC8D #778BCC #CC77B6
square
#CCB877 #77CC8D #778BCC #CC77B6
split-complementary
#CCB877 #77B6CC #8D77CC
monochromatic
#927C37 #BBA14A #CCB877 #DDCFA4 #EDE6D0

Accessibility & contrast

On white

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

On black

10.69
#CCB877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB877
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB877#FFFFFF#000000##000000
##CCB8771.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B572
Deuteranopia (green-blind)
#CABC79
Tritanopia (blue-blind)
#D8AFA8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb877;
/* rgb */ color: rgb(204, 184, 119);
/* oklch */ color: oklch(78.5% 0.087 92.9);
Tailwind
colors: {
  custom: {
    50: '#ddcd9f',
    500: '#ccb877',
    950: '#000000',
  },
}
SCSS
$custom: #ccb877;
$custom-light: #ddcd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb877",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 119
  },
  "hsl": {
    "h": 45.882,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.7848,
    "c": 0.08714,
    "h": 92.9
  },
  "luminance": 0.4845
}

Semantic roles & 50–950 ramp

primary
#CCB877
secondary
#C0C7DF
accent
#4EB92D
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB877

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

Preview Lab → · Contrast checker → · Palette generator →

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