#CCB052#CCB052

#CCB052 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.118 H 92.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CCB052
RGBrgb(204, 176, 82)
HSLhsl(46, 54%, 56%)
HSVhsv(46, 60%, 80%)
CMYKcmyk(0%, 13.7%, 59.8%, 20%)
CIE-LABlab(72.56, -1.04, 50.89)
CIE-LCHlch(72.56, 50.90, 91.17°)
OKLaboklab(76.32% -0.0058 0.1178)
OKLCHoklch(76.32% 0.118 92.8)
XYZxyz(41.9520, 44.4993, 14.3605)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB052 #526ECC
analogous
#CC7352 #CCB052 #ABCC52
triadic
#CCB052 #52CCB0 #B052CC
tetradic
#CCB052 #52CC73 #526ECC #CC52AB
square
#CCB052 #52CC73 #526ECC #CC52AB
split-complementary
#CCB052 #52ABCC #7352CC
monochromatic
#7E6A25 #AE9233 #CCB052 #DAC681 #E8DBB1

Accessibility & contrast

On white

2.12
#CCB052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CCB052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB052
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB052#FFFFFF#000000##000000
##CCB0521.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#DBA49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb052;
/* rgb */ color: rgb(204, 176, 82);
/* oklch */ color: oklch(76.3% 0.118 92.8);
Tailwind
colors: {
  custom: {
    50: '#dec786',
    500: '#ccb052',
    950: '#000000',
  },
}
SCSS
$custom: #ccb052;
$custom-light: #dec786;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb052",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 46.23,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76317,
    "c": 0.1179,
    "h": 92.8
  },
  "luminance": 0.44497
}

Semantic roles & 50–950 ramp

primary
#CCB052
secondary
#A4AFD6
accent
#6CDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB052

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

Preview Lab → · Contrast checker → · Palette generator →

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