#CCB05C#CCB05C

#CCB05C is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.109 H 91.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CCB05C
RGBrgb(204, 176, 92)
HSLhsl(45, 52%, 58%)
HSVhsv(45, 55%, 80%)
CMYKcmyk(0%, 13.7%, 54.9%, 20%)
CIE-LABlab(72.67, -0.27, 46.22)
CIE-LCHlch(72.67, 46.22, 90.34°)
OKLaboklab(76.44% -0.0024 0.1088)
OKLCHoklch(76.44% 0.109 91.3)
XYZxyz(42.3606, 44.6628, 16.5126)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB05C #5C78CC
analogous
#CC785C #CCB05C #B0CC5C
triadic
#CCB05C #5CCCB0 #B05CCC
tetradic
#CCB05C #5CCC78 #5C78CC #CC5CB0
square
#CCB05C #5CCC78 #5C78CC #CC5CB0
split-complementary
#CCB05C #5CB0CC #785CCC
monochromatic
#846E29 #B39438 #CCB05C #DBC78B #E9DDB9

Accessibility & contrast

On white

2.11
#CCB05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CCB05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB05C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB05C#FFFFFF#000000##000000
##CCB05C1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE54
Deuteranopia (green-blind)
#C7B65F
Tritanopia (blue-blind)
#DBA49D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb05c;
/* rgb */ color: rgb(204, 176, 92);
/* oklch */ color: oklch(76.4% 0.109 91.3);
Tailwind
colors: {
  custom: {
    50: '#dec78c',
    500: '#ccb05c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb05c;
$custom-light: #dec78c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb05c",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 92
  },
  "hsl": {
    "h": 45,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.76438,
    "c": 0.10884,
    "h": 91.3
  },
  "luminance": 0.44661
}

Semantic roles & 50–950 ramp

primary
#CCB05C
secondary
#ACB7D8
accent
#70DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB05C

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

Preview Lab → · Contrast checker → · Palette generator →

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