#CCB352#CCB352

#CCB352 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.120 H 95.0°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CCB352
RGBrgb(204, 179, 82)
HSLhsl(48, 54%, 56%)
HSVhsv(48, 60%, 80%)
CMYKcmyk(0%, 12.3%, 59.8%, 20%)
CIE-LABlab(73.34, -2.62, 51.77)
CIE-LCHlch(73.34, 51.84, 92.89°)
OKLaboklab(76.94% -0.0104 0.1197)
OKLCHoklch(76.94% 0.12 95)
XYZxyz(42.5467, 45.6888, 14.5587)
Luminance0.4569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB352 #526BCC
analogous
#CC7652 #CCB352 #A8CC52
triadic
#CCB352 #52CCB3 #B352CC
tetradic
#CCB352 #52CC76 #526BCC #CC52A8
square
#CCB352 #52CC76 #526BCC #CC52A8
split-complementary
#CCB352 #52A8CC #7652CC
monochromatic
#7E6C25 #AE9533 #CCB352 #DAC881 #E8DDB1

Accessibility & contrast

On white

2.07
#CCB352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#CCB352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB352
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB352#FFFFFF#000000##000000
##CCB3521.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#CAB756
Tritanopia (blue-blind)
#DBA79E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb352;
/* rgb */ color: rgb(204, 179, 82);
/* oklch */ color: oklch(76.9% 0.120 95.0);
Tailwind
colors: {
  custom: {
    50: '#dec986',
    500: '#ccb352',
    950: '#000000',
  },
}
SCSS
$custom: #ccb352;
$custom-light: #dec986;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb352",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 47.705,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76935,
    "c": 0.1201,
    "h": 95
  },
  "luminance": 0.45687
}

Semantic roles & 50–950 ramp

primary
#CCB352
secondary
#A4AED6
accent
#68DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB352

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

Preview Lab → · Contrast checker → · Palette generator →

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