#CCC985#CCC985

#CCC985 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.088 H 106.0°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CCC985
RGBrgb(204, 201, 133)
HSLhsl(57, 41%, 66%)
HSVhsv(57, 35%, 80%)
CMYKcmyk(0%, 1.5%, 34.8%, 20%)
CIE-LABlab(79.79, -9.19, 34.41)
CIE-LCHlch(79.79, 35.61, 104.95°)
OKLaboklab(82.25% -0.0244 0.0849)
OKLCHoklch(82.25% 0.088 106)
XYZxyz(50.0227, 56.3051, 30.4186)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC985 #8588CC
analogous
#CCA585 #CCC985 #ABCC85
triadic
#CCC985 #85CCC9 #C985CC
tetradic
#CCC985 #85CCA5 #8588CC #CC85AB
square
#CCC985 #85CCA5 #8588CC #CC85AB
split-complementary
#CCC985 #85ABCC #A585CC
monochromatic
#97943F #BAB65A #CCC985 #DEDCB0 #F0EFDB

Accessibility & contrast

On white

1.71
#CCC985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#CCC985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC985
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC985#FFFFFF#000000##000000
##CCC9851.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C480
Deuteranopia (green-blind)
#D6C788
Tritanopia (blue-blind)
#D6C1B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccc985;
/* rgb */ color: rgb(204, 201, 133);
/* oklch */ color: oklch(82.3% 0.088 106.0);
Tailwind
colors: {
  custom: {
    50: '#dcd9a9',
    500: '#ccc985',
    950: '#000000',
  },
}
SCSS
$custom: #ccc985;
$custom-light: #dcd9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc985",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 133
  },
  "hsl": {
    "h": 57.465,
    "s": 41.04,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82253,
    "c": 0.08833,
    "h": 106
  },
  "luminance": 0.56304
}

Semantic roles & 50–950 ramp

primary
#CCC985
secondary
#575A9E
accent
#37B431
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CCC985

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

Preview Lab → · Contrast checker → · Palette generator →

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