#CCBD71#CCBD71

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

Color values

HEX#CCBD71
RGBrgb(204, 189, 113)
HSLhsl(50, 47%, 62%)
HSVhsv(50, 45%, 80%)
CMYKcmyk(0%, 7.4%, 44.6%, 20%)
CIE-LABlab(76.33, -5.18, 40.21)
CIE-LCHlch(76.33, 40.54, 97.34°)
OKLaboklab(79.42% -0.0144 0.0972)
OKLCHoklch(79.42% 0.098 98.4)
XYZxyz(46.0812, 50.4264, 22.9255)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD71 #7180CC
analogous
#CC9071 #CCBD71 #AECC71
triadic
#CCBD71 #71CCBD #BD71CC
tetradic
#CCBD71 #71CC90 #7180CC #CC71AE
square
#CCBD71 #71CC90 #7180CC #CC71AE
split-complementary
#CCBD71 #71AECC #9071CC
monochromatic
#8F8033 #BCA844 #CCBD71 #DCD29E #ECE7CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBD71#FFFFFF#000000##000000
##CCBD711.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)
#CAB96B
Deuteranopia (green-blind)
#CFBF74
Tritanopia (blue-blind)
#D8B3AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbd71;
/* rgb */ color: rgb(204, 189, 113);
/* oklch */ color: oklch(79.4% 0.098 98.4);
Tailwind
colors: {
  custom: {
    50: '#ddd09b',
    500: '#ccbd71',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd71;
$custom-light: #ddd09b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd71",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 113
  },
  "hsl": {
    "h": 50.11,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.79417,
    "c": 0.09824,
    "h": 98.4
  },
  "luminance": 0.50425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBD71

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

Preview Lab → · Contrast checker → · Palette generator →

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