#CCC992#CCC992

#CCC992 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.073 H 105.3°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CCC992
RGBrgb(204, 201, 146)
HSLhsl(57, 36%, 69%)
HSVhsv(57, 28%, 80%)
CMYKcmyk(0%, 1.5%, 28.4%, 20%)
CIE-LABlab(80.00, -7.57, 27.94)
CIE-LCHlch(80.00, 28.95, 105.15°)
OKLaboklab(82.49% -0.0191 0.0701)
OKLCHoklch(82.49% 0.073 105.3)
XYZxyz(50.9770, 56.6869, 35.4448)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC992 #9295CC
analogous
#CCAC92 #CCC992 #B2CC92
triadic
#CCC992 #92CCC9 #C992CC
tetradic
#CCC992 #92CCAC #9295CC #CC92B2
square
#CCC992 #92CCAC #9295CC #CC92B2
split-complementary
#CCC992 #92B2CC #AC92CC
monochromatic
#9B9749 #B8B468 #CCC992 #E0DEBC #F3F2E5

Accessibility & contrast

On white

1.70
#CCC992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#CCC992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC992
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC992#FFFFFF#000000##000000
##CCC9921.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C58E
Deuteranopia (green-blind)
#D4C894
Tritanopia (blue-blind)
#D5C2BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccc992;
/* rgb */ color: rgb(204, 201, 146);
/* oklch */ color: oklch(82.5% 0.073 105.3);
Tailwind
colors: {
  custom: {
    50: '#dcd9b2',
    500: '#ccc992',
    950: '#000000',
  },
}
SCSS
$custom: #ccc992;
$custom-light: #dcd9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc992",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 146
  },
  "hsl": {
    "h": 56.897,
    "s": 36.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.82495,
    "c": 0.07263,
    "h": 105.3
  },
  "luminance": 0.56686
}

Semantic roles & 50–950 ramp

primary
#CCC992
secondary
#6164A1
accent
#3DAF36
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CCC992

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

Preview Lab → · Contrast checker → · Palette generator →

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