#CCB980#CCB980

#CCB980 is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.078 H 91.8°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#CCB980
RGBrgb(204, 185, 128)
HSLhsl(45, 43%, 65%)
HSVhsv(45, 37%, 80%)
CMYKcmyk(0%, 9.3%, 37.3%, 20%)
CIE-LABlab(75.51, -1.46, 31.41)
CIE-LCHlch(75.51, 31.45, 92.66°)
OKLaboklab(78.84% -0.0024 0.0778)
OKLCHoklch(78.84% 0.078 91.8)
XYZxyz(46.1480, 49.0953, 27.4633)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB980 #8093CC
analogous
#CC9380 #CCB980 #B9CC80
triadic
#CCB980 #80CCB9 #B980CC
tetradic
#CCB980 #80CC93 #8093CC #CC80B9
square
#CCB980 #80CC93 #8093CC #CC80B9
split-complementary
#CCB980 #80B9CC #9380CC
monochromatic
#967F3C #BAA154 #CCB980 #DED1AC #EFE9D7

Accessibility & contrast

On white

1.94
#CCB980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#CCB980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB980
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB980#FFFFFF#000000##000000
##CCB9801.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B77C
Deuteranopia (green-blind)
#CABC82
Tritanopia (blue-blind)
#D7B0AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccb980;
/* rgb */ color: rgb(204, 185, 128);
/* oklch */ color: oklch(78.8% 0.078 91.8);
Tailwind
colors: {
  custom: {
    50: '#dccda5',
    500: '#ccb980',
    950: '#000000',
  },
}
SCSS
$custom: #ccb980;
$custom-light: #dccda5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb980",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 128
  },
  "hsl": {
    "h": 45,
    "s": 42.697,
    "l": 65.098
  },
  "oklch": {
    "l": 0.78843,
    "c": 0.0778,
    "h": 91.8
  },
  "luminance": 0.49094
}

Semantic roles & 50–950 ramp

primary
#CCB980
secondary
#C7CDE1
accent
#51B630
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCB980

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

Preview Lab → · Contrast checker → · Palette generator →

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