#CCCC89#CCCC89

#CCCC89 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.087 H 108.2°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CCCC89
RGBrgb(204, 204, 137)
HSLhsl(60, 40%, 67%)
HSVhsv(60, 33%, 80%)
CMYKcmyk(0%, 0%, 32.8%, 20%)
CIE-LABlab(80.64, -10.24, 33.47)
CIE-LCHlch(80.64, 35.00, 107.02°)
OKLaboklab(82.95% -0.0272 0.0828)
OKLCHoklch(82.95% 0.087 108.2)
XYZxyz(51.0105, 57.8301, 32.1372)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC89 #8989CC
analogous
#CCAB89 #CCCC89 #ABCC89
triadic
#CCCC89 #89CCCC #CC89CC
tetradic
#CCCC89 #89CCAB #8989CC #CC89AB
square
#CCCC89 #89CCAB #8989CC #CC89AB
split-complementary
#CCCC89 #89ABCC #AB89CC
monochromatic
#999942 #BABA5E #CCCC89 #DEDEB4 #F1F1DE

Accessibility & contrast

On white

1.67
#CCCC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#CCCC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC89
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC89#FFFFFF#000000##000000
##CCCC891.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C784
Deuteranopia (green-blind)
#D8C98C
Tritanopia (blue-blind)
#D5C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc89;
/* rgb */ color: rgb(204, 204, 137);
/* oklch */ color: oklch(83.0% 0.087 108.2);
Tailwind
colors: {
  custom: {
    50: '#dcdbac',
    500: '#cccc89',
    950: '#000000',
  },
}
SCSS
$custom: #cccc89;
$custom-light: #dcdbac;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc89",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 137
  },
  "hsl": {
    "h": 60,
    "s": 39.645,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82954,
    "c": 0.08719,
    "h": 108.2
  },
  "luminance": 0.57829
}

Semantic roles & 50–950 ramp

primary
#CCCC89
secondary
#5A5A9F
accent
#33B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCC89

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

Preview Lab → · Contrast checker → · Palette generator →

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