#CCCA7B#CCCA7B

#CCCA7B is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.101 H 107.2°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CCCA7B
RGBrgb(204, 202, 123)
HSLhsl(59, 44%, 64%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 1%, 39.7%, 20%)
CIE-LABlab(79.90, -10.83, 39.65)
CIE-LCHlch(79.90, 41.11, 105.28°)
OKLaboklab(82.3% -0.0298 0.0965)
OKLCHoklch(82.3% 0.101 107.2)
XYZxyz(49.5983, 56.5096, 27.0297)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA7B #7B7DCC
analogous
#CCA27B #CCCA7B #A6CC7B
triadic
#CCCA7B #7BCCCA #CA7BCC
tetradic
#CCCA7B #7BCCA2 #7B7DCC #CC7BA6
square
#CCCA7B #7BCCA2 #7B7DCC #CC7BA6
split-complementary
#CCCA7B #7BA6CC #A27BCC
monochromatic
#949139 #BBB84F #CCCA7B #DDDCA7 #EEEDD3

Accessibility & contrast

On white

1.71
#CCCA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CCCA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA7B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA7B#FFFFFF#000000##000000
##CCCA7B1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C475
Deuteranopia (green-blind)
#D8C87E
Tritanopia (blue-blind)
#D7C1B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca7b;
/* rgb */ color: rgb(204, 202, 123);
/* oklch */ color: oklch(82.3% 0.101 107.2);
Tailwind
colors: {
  custom: {
    50: '#dddaa2',
    500: '#ccca7b',
    950: '#000000',
  },
}
SCSS
$custom: #ccca7b;
$custom-light: #dddaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca7b",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 58.519,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82296,
    "c": 0.10099,
    "h": 107.2
  },
  "luminance": 0.56508
}

Semantic roles & 50–950 ramp

primary
#CCCA7B
secondary
#51539A
accent
#31B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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