#CCB752#CCB752

#CCB752 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.123 H 97.7°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#CCB752
RGBrgb(204, 183, 82)
HSLhsl(50, 54%, 56%)
HSVhsv(50, 60%, 80%)
CMYKcmyk(0%, 10.3%, 59.8%, 20%)
CIE-LABlab(74.39, -4.71, 52.95)
CIE-LCHlch(74.39, 53.15, 95.09°)
OKLaboklab(77.77% -0.0164 0.1222)
OKLCHoklch(77.77% 0.123 97.7)
XYZxyz(43.3601, 47.3155, 14.8299)
Luminance0.4731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB752 #5267CC
analogous
#CC7A52 #CCB752 #A4CC52
triadic
#CCB752 #52CCB7 #B752CC
tetradic
#CCB752 #52CC7A #5267CC #CC52A4
square
#CCB752 #52CC7A #5267CC #CC52A4
split-complementary
#CCB752 #52A4CC #7A52CC
monochromatic
#7E6F25 #AE9933 #CCB752 #DACB81 #E8DEB1

Accessibility & contrast

On white

2.01
#CCB752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#CCB752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB752
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB752#FFFFFF#000000##000000
##CCB7521.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#CDBA57
Tritanopia (blue-blind)
#DBABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb752;
/* rgb */ color: rgb(204, 183, 82);
/* oklch */ color: oklch(77.8% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#decc86',
    500: '#ccb752',
    950: '#000000',
  },
}
SCSS
$custom: #ccb752;
$custom-light: #decc86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb752",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 49.672,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77765,
    "c": 0.12327,
    "h": 97.7
  },
  "luminance": 0.47314
}

Semantic roles & 50–950 ramp

primary
#CCB752
secondary
#A4ACD6
accent
#63DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB752

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

Preview Lab → · Contrast checker → · Palette generator →

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