#CCBD7C#CCBD7C

#CCBD7C is a light, moderate yellow. Relative luminance 0.507; OKLCH L 79.6% C 0.086 H 96.7°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CCBD7C
RGBrgb(204, 189, 124)
HSLhsl(49, 44%, 64%)
HSVhsv(49, 39%, 80%)
CMYKcmyk(0%, 7.4%, 39.2%, 20%)
CIE-LABlab(76.49, -4.01, 34.77)
CIE-LCHlch(76.49, 35.00, 96.58°)
OKLaboklab(79.6% -0.0101 0.0854)
OKLCHoklch(79.6% 0.086 96.7)
XYZxyz(46.7385, 50.6893, 26.3869)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD7C #7C8BCC
analogous
#CC957C #CCBD7C #B3CC7C
triadic
#CCBD7C #7CCCBD #BD7CCC
tetradic
#CCBD7C #7CCC95 #7C8BCC #CC7CB3
square
#CCBD7C #7CCC95 #7C8BCC #CC7CB3
split-complementary
#CCBD7C #7CB3CC #957CCC
monochromatic
#94833A #BBA750 #CCBD7C #DDD3A8 #EEE9D4

Accessibility & contrast

On white

1.89
#CCBD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CCBD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD7C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD7C#FFFFFF#000000##000000
##CCBD7C1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BA77
Deuteranopia (green-blind)
#CDBF7E
Tritanopia (blue-blind)
#D7B4AD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbd7c;
/* rgb */ color: rgb(204, 189, 124);
/* oklch */ color: oklch(79.6% 0.086 96.7);
Tailwind
colors: {
  custom: {
    50: '#ddd0a2',
    500: '#ccbd7c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd7c;
$custom-light: #ddd0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd7c",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 124
  },
  "hsl": {
    "h": 48.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.79596,
    "c": 0.08598,
    "h": 96.7
  },
  "luminance": 0.50688
}

Semantic roles & 50–950 ramp

primary
#CCBD7C
secondary
#525F9A
accent
#48B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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