#CCC451#CCC451

#CCC451 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.136 H 105.3°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CCC451
RGBrgb(204, 196, 81)
HSLhsl(56, 55%, 56%)
HSVhsv(56, 60%, 80%)
CMYKcmyk(0%, 3.9%, 60.3%, 20%)
CIE-LABlab(77.82, -11.48, 57.19)
CIE-LCHlch(77.82, 58.33, 101.35°)
OKLaboklab(80.49% -0.0359 0.1311)
OKLCHoklch(80.49% 0.136 105.3)
XYZxyz(46.1285, 52.9129, 15.5663)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC451 #5159CC
analogous
#CC8651 #CCC451 #96CC51
triadic
#CCC451 #51CCC4 #C451CC
tetradic
#CCC451 #51CC86 #5159CC #CC5196
square
#CCC451 #51CC86 #5159CC #CC5196
split-complementary
#CCC451 #5196CC #8651CC
monochromatic
#7E7825 #ADA533 #CCC451 #DAD480 #E8E4B0

Accessibility & contrast

On white

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

On black

11.58
#CCC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC451
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC451#FFFFFF#000000##000000
##CCC4511.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD44
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#DAB8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc451;
/* rgb */ color: rgb(204, 196, 81);
/* oklch */ color: oklch(80.5% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded586',
    500: '#ccc451',
    950: '#000000',
  },
}
SCSS
$custom: #ccc451;
$custom-light: #ded586;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc451",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 56.098,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80486,
    "c": 0.13589,
    "h": 105.3
  },
  "luminance": 0.52911
}

Semantic roles & 50–950 ramp

primary
#CCC451
secondary
#3C4086
accent
#53DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC451

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

Preview Lab → · Contrast checker → · Palette generator →

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