#CCC56E#CCC56E

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

Color values

HEX#CCC56E
RGBrgb(204, 197, 110)
HSLhsl(56, 48%, 62%)
HSVhsv(56, 46%, 80%)
CMYKcmyk(0%, 3.4%, 46.1%, 20%)
CIE-LABlab(78.40, -9.61, 44.27)
CIE-LCHlch(78.40, 45.31, 102.24°)
OKLaboklab(81.05% -0.0274 0.1061)
OKLCHoklch(81.05% 0.11 104.5)
XYZxyz(47.6837, 53.8970, 22.6402)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC56E #6E75CC
analogous
#CC966E #CCC56E #A4CC6E
triadic
#CCC56E #6ECCC5 #C56ECC
tetradic
#CCC56E #6ECC96 #6E75CC #CC6EA4
square
#CCC56E #6ECC96 #6E75CC #CC6EA4
split-complementary
#CCC56E #6EA4CC #966ECC
monochromatic
#8E8732 #BBB242 #CCC56E #DCD79B #ECE9C9

Accessibility & contrast

On white

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

On black

11.78
#CCC56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC56E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC56E#FFFFFF#000000##000000
##CCC56E1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc56e;
/* rgb */ color: rgb(204, 197, 110);
/* oklch */ color: oklch(81.0% 0.110 104.5);
Tailwind
colors: {
  custom: {
    50: '#ddd699',
    500: '#ccc56e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc56e;
$custom-light: #ddd699;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc56e",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 110
  },
  "hsl": {
    "h": 55.532,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81047,
    "c": 0.10955,
    "h": 104.5
  },
  "luminance": 0.53896
}

Semantic roles & 50–950 ramp

primary
#CCC56E
secondary
#4A4F94
accent
#35BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC56E

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

Preview Lab → · Contrast checker → · Palette generator →

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