#CCBD82#CCBD82

#CCBD82 is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.079 H 95.6°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CCBD82
RGBrgb(204, 189, 130)
HSLhsl(48, 42%, 65%)
HSVhsv(48, 36%, 80%)
CMYKcmyk(0%, 7.4%, 36.3%, 20%)
CIE-LABlab(76.59, -3.32, 31.77)
CIE-LCHlch(76.59, 31.95, 95.97°)
OKLaboklab(79.7% -0.0077 0.0787)
OKLCHoklch(79.7% 0.079 95.6)
XYZxyz(47.1295, 50.8457, 28.4463)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD82 #8291CC
analogous
#CC9882 #CCBD82 #B6CC82
triadic
#CCBD82 #82CCBD #BD82CC
tetradic
#CCBD82 #82CC98 #8291CC #CC82B6
square
#CCBD82 #82CC98 #8291CC #CC82B6
split-complementary
#CCBD82 #82B6CC #9882CC
monochromatic
#96843D #BAA657 #CCBD82 #DED4AD #EFEBD9

Accessibility & contrast

On white

1.88
#CCBD82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#CCBD82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD82
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD82#FFFFFF#000000##000000
##CCBD821.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BA7E
Deuteranopia (green-blind)
#CDBF84
Tritanopia (blue-blind)
#D7B5AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbd82;
/* rgb */ color: rgb(204, 189, 130);
/* oklch */ color: oklch(79.7% 0.079 95.6);
Tailwind
colors: {
  custom: {
    50: '#dcd0a7',
    500: '#ccbd82',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd82;
$custom-light: #dcd0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd82",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 130
  },
  "hsl": {
    "h": 47.838,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79702,
    "c": 0.07904,
    "h": 95.6
  },
  "luminance": 0.50844
}

Semantic roles & 50–950 ramp

primary
#CCBD82
secondary
#55649D
accent
#4BB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBD82

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

Preview Lab → · Contrast checker → · Palette generator →

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