#CCCB8A#CCCB8A

#CCCB8A is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.085 H 107.4°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CCCB8A
RGBrgb(204, 203, 138)
HSLhsl(59, 39%, 67%)
HSVhsv(59, 32%, 80%)
CMYKcmyk(0%, 0.5%, 32.4%, 20%)
CIE-LABlab(80.40, -9.61, 32.62)
CIE-LCHlch(80.40, 34.01, 106.41°)
OKLaboklab(82.76% -0.0253 0.0809)
OKLCHoklch(82.76% 0.085 107.4)
XYZxyz(50.8456, 57.3851, 32.4378)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB8A #8A8BCC
analogous
#CCAA8A #CCCB8A #ACCC8A
triadic
#CCCB8A #8ACCCB #CB8ACC
tetradic
#CCCB8A #8ACCAA #8A8BCC #CC8AAC
square
#CCCB8A #8ACCAA #8A8BCC #CC8AAC
split-complementary
#CCCB8A #8AACCC #AA8ACC
monochromatic
#999843 #B9B85F #CCCB8A #DFDEB5 #F1F1DF

Accessibility & contrast

On white

1.68
#CCCB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CCCB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB8A
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB8A#FFFFFF#000000##000000
##CCCB8A1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C685
Deuteranopia (green-blind)
#D7C98D
Tritanopia (blue-blind)
#D5C3BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccb8a;
/* rgb */ color: rgb(204, 203, 138);
/* oklch */ color: oklch(82.8% 0.085 107.4);
Tailwind
colors: {
  custom: {
    50: '#dcdaad',
    500: '#cccb8a',
    950: '#000000',
  },
}
SCSS
$custom: #cccb8a;
$custom-light: #dcdaad;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb8a",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 59.091,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82762,
    "c": 0.08479,
    "h": 107.4
  },
  "luminance": 0.57384
}

Semantic roles & 50–950 ramp

primary
#CCCB8A
secondary
#5B5CA0
accent
#35B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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