#CCB05A#CCB05A

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

Color values

HEX#CCB05A
RGBrgb(204, 176, 90)
HSLhsl(45, 53%, 58%)
HSVhsv(45, 56%, 80%)
CMYKcmyk(0%, 13.7%, 55.9%, 20%)
CIE-LABlab(72.65, -0.43, 47.17)
CIE-LCHlch(72.65, 47.17, 90.52°)
OKLaboklab(76.41% -0.0031 0.1107)
OKLCHoklch(76.41% 0.111 91.6)
XYZxyz(42.2744, 44.6283, 16.0583)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB05A #5A76CC
analogous
#CC775A #CCB05A #AFCC5A
triadic
#CCB05A #5ACCB0 #B05ACC
tetradic
#CCB05A #5ACC77 #5A76CC #CC5AAF
square
#CCB05A #5ACC77 #5A76CC #CC5AAF
split-complementary
#CCB05A #5AAFCC #775ACC
monochromatic
#836D29 #B29437 #CCB05A #DAC689 #E9DDB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB05A#FFFFFF#000000##000000
##CCB05A1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE52
Deuteranopia (green-blind)
#C7B65D
Tritanopia (blue-blind)
#DBA49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb05a;
/* rgb */ color: rgb(204, 176, 90);
/* oklch */ color: oklch(76.4% 0.111 91.6);
Tailwind
colors: {
  custom: {
    50: '#dec78b',
    500: '#ccb05a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb05a;
$custom-light: #dec78b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb05a",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 90
  },
  "hsl": {
    "h": 45.263,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76412,
    "c": 0.11071,
    "h": 91.6
  },
  "luminance": 0.44626
}

Semantic roles & 50–950 ramp

primary
#CCB05A
secondary
#AAB5D8
accent
#6FDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB05A

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

Preview Lab → · Contrast checker → · Palette generator →

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