#CCB952#CCB952

#CCB952 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.125 H 98.9°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CCB952
RGBrgb(204, 185, 82)
HSLhsl(51, 54%, 56%)
HSVhsv(51, 60%, 80%)
CMYKcmyk(0%, 9.3%, 59.8%, 20%)
CIE-LABlab(74.92, -5.75, 53.53)
CIE-LCHlch(74.92, 53.84, 96.13°)
OKLaboklab(78.18% -0.0194 0.1234)
OKLCHoklch(78.18% 0.125 98.9)
XYZxyz(43.7755, 48.1464, 14.9683)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB952 #5265CC
analogous
#CC7C52 #CCB952 #A2CC52
triadic
#CCB952 #52CCB9 #B952CC
tetradic
#CCB952 #52CC7C #5265CC #CC52A2
square
#CCB952 #52CC7C #5265CC #CC52A2
split-complementary
#CCB952 #52A2CC #7C52CC
monochromatic
#7E7025 #AE9B33 #CCB952 #DACC81 #E8DFB1

Accessibility & contrast

On white

1.98
#CCB952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CCB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB952
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB952#FFFFFF#000000##000000
##CCB9521.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#DBADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb952;
/* rgb */ color: rgb(204, 185, 82);
/* oklch */ color: oklch(78.2% 0.125 98.9);
Tailwind
colors: {
  custom: {
    50: '#decd86',
    500: '#ccb952',
    950: '#000000',
  },
}
SCSS
$custom: #ccb952;
$custom-light: #decd86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb952",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 50.656,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78181,
    "c": 0.12494,
    "h": 98.9
  },
  "luminance": 0.48144
}

Semantic roles & 50–950 ramp

primary
#CCB952
secondary
#A4ACD6
accent
#61DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB952

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

Preview Lab → · Contrast checker → · Palette generator →

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