#CCBD72#CCBD72

#CCBD72 is a light, moderate yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.097 H 98.3°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CCBD72
RGBrgb(204, 189, 114)
HSLhsl(50, 47%, 62%)
HSVhsv(50, 44%, 80%)
CMYKcmyk(0%, 7.4%, 44.1%, 20%)
CIE-LABlab(76.34, -5.08, 39.72)
CIE-LCHlch(76.34, 40.04, 97.29°)
OKLaboklab(79.43% -0.014 0.0961)
OKLCHoklch(79.43% 0.097 98.3)
XYZxyz(46.1378, 50.4490, 23.2236)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD72 #7281CC
analogous
#CC9072 #CCBD72 #AECC72
triadic
#CCBD72 #72CCBD #BD72CC
tetradic
#CCBD72 #72CC90 #7281CC #CC72AE
square
#CCBD72 #72CC90 #7281CC #CC72AE
split-complementary
#CCBD72 #72AECC #9072CC
monochromatic
#908034 #BCA845 #CCBD72 #DCD29F #EDE7CC

Accessibility & contrast

On white

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

On black

11.09
#CCBD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD72
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD72#FFFFFF#000000##000000
##CCBD721.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96C
Deuteranopia (green-blind)
#CFBF75
Tritanopia (blue-blind)
#D8B3AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbd72;
/* rgb */ color: rgb(204, 189, 114);
/* oklch */ color: oklch(79.4% 0.097 98.3);
Tailwind
colors: {
  custom: {
    50: '#ddd09c',
    500: '#ccbd72',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd72;
$custom-light: #ddd09c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd72",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 114
  },
  "hsl": {
    "h": 50,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79433,
    "c": 0.09715,
    "h": 98.3
  },
  "luminance": 0.50447
}

Semantic roles & 50–950 ramp

primary
#CCBD72
secondary
#4C5896
accent
#43BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCBD72

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

Preview Lab → · Contrast checker → · Palette generator →

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