#CCBC7D#CCBC7D

#CCBC7D is a light, moderate yellow. Relative luminance 0.503; OKLCH L 79.4% C 0.084 H 95.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#CCBC7D
RGBrgb(204, 188, 125)
HSLhsl(48, 44%, 65%)
HSVhsv(48, 39%, 80%)
CMYKcmyk(0%, 7.8%, 38.7%, 20%)
CIE-LABlab(76.24, -3.38, 33.94)
CIE-LCHlch(76.24, 34.10, 95.68°)
OKLaboklab(79.41% -0.0082 0.0835)
OKLCHoklch(79.41% 0.084 95.6)
XYZxyz(46.5877, 50.2860, 26.6502)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC7D #7D8DCC
analogous
#CC957D #CCBC7D #B5CC7D
triadic
#CCBC7D #7DCCBC #BC7DCC
tetradic
#CCBC7D #7DCC95 #7D8DCC #CC7DB5
square
#CCBC7D #7DCC95 #7D8DCC #CC7DB5
split-complementary
#CCBC7D #7DB5CC #957DCC
monochromatic
#94823A #BBA551 #CCBC7D #DDD3A9 #EEE9D5

Accessibility & contrast

On white

1.90
#CCBC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#CCBC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC7D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC7D#FFFFFF#000000##000000
##CCBC7D1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B978
Deuteranopia (green-blind)
#CDBE7F
Tritanopia (blue-blind)
#D7B3AC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbc7d;
/* rgb */ color: rgb(204, 188, 125);
/* oklch */ color: oklch(79.4% 0.084 95.6);
Tailwind
colors: {
  custom: {
    50: '#ddd0a3',
    500: '#ccbc7d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc7d;
$custom-light: #ddd0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc7d",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 125
  },
  "hsl": {
    "h": 47.848,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.79407,
    "c": 0.0839,
    "h": 95.6
  },
  "luminance": 0.50284
}

Semantic roles & 50–950 ramp

primary
#CCBC7D
secondary
#52619B
accent
#4AB72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #CCBC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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