#CCB556#CCB556

#CCB556 is a light, moderate yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.118 H 95.9°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CCB556
RGBrgb(204, 181, 86)
HSLhsl(48, 54%, 57%)
HSVhsv(48, 58%, 80%)
CMYKcmyk(0%, 11.3%, 57.8%, 20%)
CIE-LABlab(73.91, -3.37, 50.54)
CIE-LCHlch(73.91, 50.65, 93.82°)
OKLaboklab(77.39% -0.0121 0.1175)
OKLCHoklch(77.39% 0.118 95.9)
XYZxyz(43.1071, 46.5590, 15.5185)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB556 #566DCC
analogous
#CC7A56 #CCB556 #A8CC56
triadic
#CCB556 #56CCB5 #B556CC
tetradic
#CCB556 #56CC7A #566DCC #CC56A8
square
#CCB556 #56CC7A #566DCC #CC56A8
split-complementary
#CCB556 #56A8CC #7A56CC
monochromatic
#816F27 #B09835 #CCB556 #DACA85 #E8DEB4

Accessibility & contrast

On white

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

On black

10.31
#CCB556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB556
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB556#FFFFFF#000000##000000
##CCB5561.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14D
Deuteranopia (green-blind)
#CBB95A
Tritanopia (blue-blind)
#DBA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb556;
/* rgb */ color: rgb(204, 181, 86);
/* oklch */ color: oklch(77.4% 0.118 95.9);
Tailwind
colors: {
  custom: {
    50: '#deca89',
    500: '#ccb556',
    950: '#000000',
  },
}
SCSS
$custom: #ccb556;
$custom-light: #deca89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb556",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 86
  },
  "hsl": {
    "h": 48.305,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77394,
    "c": 0.11812,
    "h": 95.9
  },
  "luminance": 0.46557
}

Semantic roles & 50–950 ramp

primary
#CCB556
secondary
#A7B0D7
accent
#67DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB556

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

Preview Lab → · Contrast checker → · Palette generator →

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