#CCC456#CCC456

#CCC456 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.5% C 0.132 H 105.1°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CCC456
RGBrgb(204, 196, 86)
HSLhsl(56, 54%, 57%)
HSVhsv(56, 58%, 80%)
CMYKcmyk(0%, 3.9%, 57.8%, 20%)
CIE-LABlab(77.87, -11.13, 55.02)
CIE-LCHlch(77.87, 56.14, 101.44°)
OKLaboklab(80.54% -0.0343 0.1271)
OKLCHoklch(80.54% 0.132 105.1)
XYZxyz(46.3230, 52.9906, 16.5904)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC456 #565ECC
analogous
#CC8956 #CCC456 #99CC56
triadic
#CCC456 #56CCC4 #C456CC
tetradic
#CCC456 #56CC89 #565ECC #CC5699
square
#CCC456 #56CC89 #565ECC #CC5699
split-complementary
#CCC456 #5699CC #8956CC
monochromatic
#817B27 #B0A735 #CCC456 #DAD485 #E8E5B4

Accessibility & contrast

On white

1.81
#CCC456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CCC456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC456
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC456#FFFFFF#000000##000000
##CCC4561.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4A
Deuteranopia (green-blind)
#D6C35C
Tritanopia (blue-blind)
#DAB8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc456;
/* rgb */ color: rgb(204, 196, 86);
/* oklch */ color: oklch(80.5% 0.132 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded589',
    500: '#ccc456',
    950: '#000000',
  },
}
SCSS
$custom: #ccc456;
$custom-light: #ded589;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc456",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 55.932,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80538,
    "c": 0.13166,
    "h": 105.1
  },
  "luminance": 0.52989
}

Semantic roles & 50–950 ramp

primary
#CCC456
secondary
#3E4388
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC456

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

Preview Lab → · Contrast checker → · Palette generator →

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