#CCC56D#CCC56D

#CCC56D is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.111 H 104.6°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CCC56D
RGBrgb(204, 197, 109)
HSLhsl(56, 48%, 61%)
HSVhsv(56, 47%, 80%)
CMYKcmyk(0%, 3.4%, 46.6%, 20%)
CIE-LABlab(78.39, -9.70, 44.75)
CIE-LCHlch(78.39, 45.79, 102.23°)
OKLaboklab(81.03% -0.0278 0.1071)
OKLCHoklch(81.03% 0.111 104.6)
XYZxyz(47.6295, 53.8754, 22.3550)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC56D #6D74CC
analogous
#CC966D #CCC56D #A4CC6D
triadic
#CCC56D #6DCCC5 #C56DCC
tetradic
#CCC56D #6DCC96 #6D74CC #CC6DA4
square
#CCC56D #6DCC96 #6D74CC #CC6DA4
split-complementary
#CCC56D #6DA4CC #966DCC
monochromatic
#8D8631 #BBB241 #CCC56D #DCD79A #ECE9C8

Accessibility & contrast

On white

1.78
#CCC56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CCC56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC56D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC56D#FFFFFF#000000##000000
##CCC56D1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF66
Deuteranopia (green-blind)
#D5C471
Tritanopia (blue-blind)
#D8BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc56d;
/* rgb */ color: rgb(204, 197, 109);
/* oklch */ color: oklch(81.0% 0.111 104.6);
Tailwind
colors: {
  custom: {
    50: '#ddd698',
    500: '#ccc56d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc56d;
$custom-light: #ddd698;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc56d",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 109
  },
  "hsl": {
    "h": 55.579,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81033,
    "c": 0.1106,
    "h": 104.6
  },
  "luminance": 0.53874
}

Semantic roles & 50–950 ramp

primary
#CCC56D
secondary
#494F94
accent
#35BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC56D

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

Preview Lab → · Contrast checker → · Palette generator →

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