#CCB552#CCB552

#CCB552 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.3% C 0.122 H 96.3°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CCB552
RGBrgb(204, 181, 82)
HSLhsl(49, 54%, 56%)
HSVhsv(49, 60%, 80%)
CMYKcmyk(0%, 11.3%, 59.8%, 20%)
CIE-LABlab(73.87, -3.67, 52.36)
CIE-LCHlch(73.87, 52.49, 94.00°)
OKLaboklab(77.35% -0.0134 0.1209)
OKLCHoklch(77.35% 0.122 96.3)
XYZxyz(42.9505, 46.4963, 14.6933)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB552 #5269CC
analogous
#CC7852 #CCB552 #A6CC52
triadic
#CCB552 #52CCB5 #B552CC
tetradic
#CCB552 #52CC78 #5269CC #CC52A6
square
#CCB552 #52CC78 #5269CC #CC52A6
split-complementary
#CCB552 #52A6CC #7852CC
monochromatic
#7E6E25 #AE9733 #CCB552 #DAC981 #E8DDB1

Accessibility & contrast

On white

2.04
#CCB552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CCB552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB552
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB552#FFFFFF#000000##000000
##CCB5521.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#CBB957
Tritanopia (blue-blind)
#DBA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb552;
/* rgb */ color: rgb(204, 181, 82);
/* oklch */ color: oklch(77.3% 0.122 96.3);
Tailwind
colors: {
  custom: {
    50: '#deca86',
    500: '#ccb552',
    950: '#000000',
  },
}
SCSS
$custom: #ccb552;
$custom-light: #deca86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb552",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 48.689,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77349,
    "c": 0.12165,
    "h": 96.3
  },
  "luminance": 0.46494
}

Semantic roles & 50–950 ramp

primary
#CCB552
secondary
#A4ADD6
accent
#66DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB552

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

Preview Lab → · Contrast checker → · Palette generator →

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