#CCC652#CCC652

#CCC652 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.137 H 106.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CCC652
RGBrgb(204, 198, 82)
HSLhsl(57, 54%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 2.9%, 59.8%, 20%)
CIE-LABlab(78.37, -12.43, 57.34)
CIE-LCHlch(78.37, 58.68, 102.23°)
OKLaboklab(80.92% -0.0385 0.1315)
OKLCHoklch(80.92% 0.137 106.3)
XYZxyz(46.6204, 53.8362, 15.9166)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC652 #5258CC
analogous
#CC8952 #CCC652 #95CC52
triadic
#CCC652 #52CCC6 #C652CC
tetradic
#CCC652 #52CC89 #5258CC #CC5295
square
#CCC652 #52CC89 #5258CC #CC5295
split-complementary
#CCC652 #5295CC #8952CC
monochromatic
#7E7A25 #AEA833 #CCC652 #DAD681 #E8E5B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC652#FFFFFF#000000##000000
##CCC6521.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)
#D6BF45
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#DABAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc652;
/* rgb */ color: rgb(204, 198, 82);
/* oklch */ color: oklch(80.9% 0.137 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded787',
    500: '#ccc652',
    950: '#000000',
  },
}
SCSS
$custom: #ccc652;
$custom-light: #ded787;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc652",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 57.049,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80921,
    "c": 0.13705,
    "h": 106.3
  },
  "luminance": 0.53835
}

Semantic roles & 50–950 ramp

primary
#CCC652
secondary
#3C4086
accent
#51DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC652

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

Preview Lab → · Contrast checker → · Palette generator →

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