#CCC889#CCC889

#CCC889 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.082 H 105.0°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CCC889
RGBrgb(204, 200, 137)
HSLhsl(56, 40%, 67%)
HSVhsv(56, 33%, 80%)
CMYKcmyk(0%, 2%, 32.8%, 20%)
CIE-LABlab(79.59, -8.19, 32.08)
CIE-LCHlch(79.59, 33.11, 104.33°)
OKLaboklab(82.12% -0.0213 0.0796)
OKLCHoklch(82.12% 0.082 105)
XYZxyz(50.0719, 55.9531, 31.8244)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC889 #898DCC
analogous
#CCA789 #CCC889 #AFCC89
triadic
#CCC889 #89CCC8 #C889CC
tetradic
#CCC889 #89CCA7 #898DCC #CC89AF
square
#CCC889 #89CCA7 #898DCC #CC89AF
split-complementary
#CCC889 #89AFCC #A789CC
monochromatic
#999342 #BAB45E #CCC889 #DEDCB4 #F1F0DE

Accessibility & contrast

On white

1.72
#CCC889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#CCC889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC889
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC889#FFFFFF#000000##000000
##CCC8891.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C385
Deuteranopia (green-blind)
#D4C78B
Tritanopia (blue-blind)
#D6C0B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc889;
/* rgb */ color: rgb(204, 200, 137);
/* oklch */ color: oklch(82.1% 0.082 105.0);
Tailwind
colors: {
  custom: {
    50: '#dcd8ac',
    500: '#ccc889',
    950: '#000000',
  },
}
SCSS
$custom: #ccc889;
$custom-light: #dcd8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc889",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 137
  },
  "hsl": {
    "h": 56.418,
    "s": 39.645,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82115,
    "c": 0.08241,
    "h": 105
  },
  "luminance": 0.55952
}

Semantic roles & 50–950 ramp

primary
#CCC889
secondary
#5A5E9F
accent
#3AB333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC889

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

Preview Lab → · Contrast checker → · Palette generator →

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