#CCC875#CCC875

#CCC875 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.105 H 106.1°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CCC875
RGBrgb(204, 200, 117)
HSLhsl(57, 46%, 63%)
HSVhsv(57, 43%, 80%)
CMYKcmyk(0%, 2%, 42.6%, 20%)
CIE-LABlab(79.29, -10.44, 41.89)
CIE-LCHlch(79.29, 43.18, 104.00°)
OKLaboklab(81.78% -0.0292 0.1012)
OKLCHoklch(81.78% 0.105 106.1)
XYZxyz(48.7679, 55.4315, 24.9565)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC875 #7579CC
analogous
#CC9C75 #CCC875 #A5CC75
triadic
#CCC875 #75CCC8 #C875CC
tetradic
#CCC875 #75CC9C #7579CC #CC75A5
square
#CCC875 #75CC9C #7579CC #CC75A5
split-complementary
#CCC875 #75A5CC #9C75CC
monochromatic
#918D36 #BBB648 #CCC875 #DDDAA2 #EDECCE

Accessibility & contrast

On white

1.74
#CCC875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CCC875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC875
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC875#FFFFFF#000000##000000
##CCC8751.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26E
Deuteranopia (green-blind)
#D7C679
Tritanopia (blue-blind)
#D7BEB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc875;
/* rgb */ color: rgb(204, 200, 117);
/* oklch */ color: oklch(81.8% 0.105 106.1);
Tailwind
colors: {
  custom: {
    50: '#ddd89e',
    500: '#ccc875',
    950: '#000000',
  },
}
SCSS
$custom: #ccc875;
$custom-light: #ddd89e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc875",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 117
  },
  "hsl": {
    "h": 57.241,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81781,
    "c": 0.10534,
    "h": 106.1
  },
  "luminance": 0.5543
}

Semantic roles & 50–950 ramp

primary
#CCC875
secondary
#4E5198
accent
#33B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC875

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

Preview Lab → · Contrast checker → · Palette generator →

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