#CCC489#CCC489

#CCC489 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.078 H 101.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CCC489
RGBrgb(204, 196, 137)
HSLhsl(53, 40%, 67%)
HSVhsv(53, 33%, 80%)
CMYKcmyk(0%, 3.9%, 32.8%, 20%)
CIE-LABlab(78.53, -6.13, 30.69)
CIE-LCHlch(78.53, 31.29, 101.29°)
OKLaboklab(81.28% -0.0154 0.0764)
OKLCHoklch(81.28% 0.078 101.4)
XYZxyz(49.1576, 54.1245, 31.5196)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC489 #8991CC
analogous
#CCA389 #CCC489 #B3CC89
triadic
#CCC489 #89CCC4 #C489CC
tetradic
#CCC489 #89CCA3 #8991CC #CC89B3
square
#CCC489 #89CCA3 #8991CC #CC89B3
split-complementary
#CCC489 #89B3CC #A389CC
monochromatic
#998E42 #BAAF5E #CCC489 #DED9B4 #F1EFDE

Accessibility & contrast

On white

1.78
#CCC489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CCC489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC489
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC489#FFFFFF#000000##000000
##CCC4891.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC085
Deuteranopia (green-blind)
#D1C48B
Tritanopia (blue-blind)
#D6BCB5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc489;
/* rgb */ color: rgb(204, 196, 137);
/* oklch */ color: oklch(81.3% 0.078 101.4);
Tailwind
colors: {
  custom: {
    50: '#dcd5ac',
    500: '#ccc489',
    950: '#000000',
  },
}
SCSS
$custom: #ccc489;
$custom-light: #dcd5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc489",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 137
  },
  "hsl": {
    "h": 52.836,
    "s": 39.645,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81281,
    "c": 0.07788,
    "h": 101.4
  },
  "luminance": 0.54123
}

Semantic roles & 50–950 ramp

primary
#CCC489
secondary
#5A629F
accent
#42B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC489

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

Preview Lab → · Contrast checker → · Palette generator →

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