#CCC975#CCC975

#CCC975 is a light, moderate yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.106 H 106.7°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CCC975
RGBrgb(204, 201, 117)
HSLhsl(58, 46%, 63%)
HSVhsv(58, 43%, 80%)
CMYKcmyk(0%, 1.5%, 42.6%, 20%)
CIE-LABlab(79.55, -10.95, 42.23)
CIE-LCHlch(79.55, 43.62, 104.54°)
OKLaboklab(81.99% -0.0307 0.102)
OKLCHoklch(81.99% 0.106 106.7)
XYZxyz(49.0003, 55.8962, 25.0340)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC975 #7578CC
analogous
#CC9D75 #CCC975 #A3CC75
triadic
#CCC975 #75CCC9 #C975CC
tetradic
#CCC975 #75CC9D #7578CC #CC75A3
square
#CCC975 #75CC9D #7578CC #CC75A3
split-complementary
#CCC975 #75A3CC #9D75CC
monochromatic
#918E36 #BBB848 #CCC975 #DDDAA2 #EDECCE

Accessibility & contrast

On white

1.72
#CCC975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CCC975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC975
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC975#FFFFFF#000000##000000
##CCC9751.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36E
Deuteranopia (green-blind)
#D8C779
Tritanopia (blue-blind)
#D7BFB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc975;
/* rgb */ color: rgb(204, 201, 117);
/* oklch */ color: oklch(82.0% 0.106 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd99e',
    500: '#ccc975',
    950: '#000000',
  },
}
SCSS
$custom: #ccc975;
$custom-light: #ddd99e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc975",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 117
  },
  "hsl": {
    "h": 57.931,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81992,
    "c": 0.10647,
    "h": 106.7
  },
  "luminance": 0.55895
}

Semantic roles & 50–950 ramp

primary
#CCC975
secondary
#4E5098
accent
#31B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC975

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

Preview Lab → · Contrast checker → · Palette generator →

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