#CCCD92#CCCD92

#CCCD92 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.078 H 108.8°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#CCCD92
RGBrgb(204, 205, 146)
HSLhsl(61, 37%, 69%)
HSVhsv(61, 29%, 80%)
CMYKcmyk(0.5%, 0%, 28.8%, 19.6%)
CIE-LABlab(81.06, -9.62, 29.35)
CIE-LCHlch(81.06, 30.89, 108.15°)
OKLaboklab(83.33% -0.025 0.0734)
OKLCHoklch(83.33% 0.078 108.8)
XYZxyz(51.9216, 58.5761, 35.7597)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD92 #9392CD
analogous
#CDB192 #CCCD92 #AFCD92
triadic
#CCCD92 #92CCCD #CD92CC
tetradic
#CCCD92 #92CDB1 #9392CD #CD92AF
square
#CCCD92 #92CDB1 #9392CD #CD92AF
split-complementary
#CCCD92 #92AFCD #B192CD
monochromatic
#9B9D48 #B8BA68 #CCCD92 #E0E0BC #F3F3E6

Accessibility & contrast

On white

1.65
#CCCD92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#CCCD92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD92
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD92#FFFFFF#000000##000000
##CCCD921.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C88E
Deuteranopia (green-blind)
#D7CA94
Tritanopia (blue-blind)
#D4C6BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccd92;
/* rgb */ color: rgb(204, 205, 146);
/* oklch */ color: oklch(83.3% 0.078 108.8);
Tailwind
colors: {
  custom: {
    50: '#dcdcb2',
    500: '#cccd92',
    950: '#000000',
  },
}
SCSS
$custom: #cccd92;
$custom-light: #dcdcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd92",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 146
  },
  "hsl": {
    "h": 61.017,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83331,
    "c": 0.07756,
    "h": 108.8
  },
  "luminance": 0.58575
}

Semantic roles & 50–950 ramp

primary
#CCCD92
secondary
#6261A2
accent
#35B038
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCD92

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

Preview Lab → · Contrast checker → · Palette generator →

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