#CCB56A#CCB56A

#CCB56A is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.099 H 92.9°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CCB56A
RGBrgb(204, 181, 106)
HSLhsl(46, 49%, 61%)
HSVhsv(46, 48%, 80%)
CMYKcmyk(0%, 11.3%, 48%, 20%)
CIE-LABlab(74.14, -1.68, 41.03)
CIE-LCHlch(74.14, 41.06, 92.34°)
OKLaboklab(77.66% -0.0049 0.0986)
OKLCHoklch(77.66% 0.099 92.9)
XYZxyz(44.0286, 46.9276, 20.3716)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB56A #6A81CC
analogous
#CC846A #CCB56A #B2CC6A
triadic
#CCB56A #6ACCB5 #B56ACC
tetradic
#CCB56A #6ACC84 #6A81CC #CC6AB2
square
#CCB56A #6ACC84 #6A81CC #CC6AB2
split-complementary
#CCB56A #6AB2CC #846ACC
monochromatic
#8C7630 #B99D3F #CCB56A #DCCC98 #EBE2C5

Accessibility & contrast

On white

2.02
#CCB56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#CCB56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB56A
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB56A#FFFFFF#000000##000000
##CCB56A1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B264
Deuteranopia (green-blind)
#C9B96D
Tritanopia (blue-blind)
#D9AAA3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb56a;
/* rgb */ color: rgb(204, 181, 106);
/* oklch */ color: oklch(77.7% 0.099 92.9);
Tailwind
colors: {
  custom: {
    50: '#ddcb96',
    500: '#ccb56a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb56a;
$custom-light: #ddcb96;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb56a",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 106
  },
  "hsl": {
    "h": 45.918,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.77658,
    "c": 0.09867,
    "h": 92.9
  },
  "luminance": 0.46926
}

Semantic roles & 50–950 ramp

primary
#CCB56A
secondary
#B6BFDB
accent
#4CBC29
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB56A

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

Preview Lab → · Contrast checker → · Palette generator →

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