#CCC39B#CCC39B

#CCC39B is a light, muted yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.055 H 96.8°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CCC39B
RGBrgb(204, 195, 155)
HSLhsl(49, 32%, 70%)
HSVhsv(49, 24%, 80%)
CMYKcmyk(0%, 4.4%, 24%, 20%)
CIE-LABlab(78.60, -3.23, 21.28)
CIE-LCHlch(78.60, 21.53, 98.63°)
OKLaboklab(81.44% -0.0065 0.0542)
OKLCHoklch(81.44% 0.055 96.8)
XYZxyz(50.3334, 54.2351, 38.8209)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC39B #9BA4CC
analogous
#CCAA9B #CCC39B #BCCC9B
triadic
#CCC39B #9BCCC3 #C39BCC
tetradic
#CCC39B #9BCCAA #9BA4CC #CC9BBC
square
#CCC39B #9BCCAA #9BA4CC #CC9BBC
split-complementary
#CCC39B #9BBCCC #AA9BCC
monochromatic
#9D8F50 #B7AB72 #CCC39B #E1DBC4 #F5F3EB

Accessibility & contrast

On white

1.77
#CCC39B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CCC39B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC39B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC39B#FFFFFF#000000##000000
##CCC39B1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC198
Deuteranopia (green-blind)
#CEC49C
Tritanopia (blue-blind)
#D4BDB8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc39b;
/* rgb */ color: rgb(204, 195, 155);
/* oklch */ color: oklch(81.4% 0.055 96.8);
Tailwind
colors: {
  custom: {
    50: '#dcd5b8',
    500: '#ccc39b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc39b;
$custom-light: #dcd5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc39b",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 155
  },
  "hsl": {
    "h": 48.98,
    "s": 32.45,
    "l": 70.392
  },
  "oklch": {
    "l": 0.81439,
    "c": 0.05454,
    "h": 96.8
  },
  "luminance": 0.54234
}

Semantic roles & 50–950 ramp

primary
#CCC39B
secondary
#6A74A1
accent
#4FAB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC39B

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

Preview Lab → · Contrast checker → · Palette generator →

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