#CCC372#CCC372

#CCC372 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.103 H 102.9°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CCC372
RGBrgb(204, 195, 114)
HSLhsl(54, 47%, 62%)
HSVhsv(54, 44%, 80%)
CMYKcmyk(0%, 4.4%, 44.1%, 20%)
CIE-LABlab(77.92, -8.19, 41.69)
CIE-LCHlch(77.92, 42.49, 101.11°)
OKLaboklab(80.69% -0.023 0.1006)
OKLCHoklch(80.69% 0.103 102.9)
XYZxyz(47.4553, 53.0839, 23.6627)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC372 #727BCC
analogous
#CC9672 #CCC372 #A8CC72
triadic
#CCC372 #72CCC3 #C372CC
tetradic
#CCC372 #72CC96 #727BCC #CC72A8
square
#CCC372 #72CC96 #727BCC #CC72A8
split-complementary
#CCC372 #72A8CC #9672CC
monochromatic
#908634 #BCB045 #CCC372 #DCD69F #EDE9CC

Accessibility & contrast

On white

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

On black

11.62
#CCC372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC372
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC372#FFFFFF#000000##000000
##CCC3721.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6B
Deuteranopia (green-blind)
#D3C375
Tritanopia (blue-blind)
#D8B9AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc372;
/* rgb */ color: rgb(204, 195, 114);
/* oklch */ color: oklch(80.7% 0.103 102.9);
Tailwind
colors: {
  custom: {
    50: '#ddd59c',
    500: '#ccc372',
    950: '#000000',
  },
}
SCSS
$custom: #ccc372;
$custom-light: #ddd59c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc372",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 114
  },
  "hsl": {
    "h": 54,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80685,
    "c": 0.10317,
    "h": 102.9
  },
  "luminance": 0.53082
}

Semantic roles & 50–950 ramp

primary
#CCC372
secondary
#4C5396
accent
#3ABA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC372

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

Preview Lab → · Contrast checker → · Palette generator →

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