#CCCA7D#CCCA7D

#CCCA7D is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.099 H 107.1°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CCCA7D
RGBrgb(204, 202, 125)
HSLhsl(58, 44%, 65%)
HSVhsv(58, 39%, 80%)
CMYKcmyk(0%, 1%, 38.7%, 20%)
CIE-LABlab(79.93, -10.61, 38.68)
CIE-LCHlch(79.93, 40.11, 105.34°)
OKLaboklab(82.33% -0.029 0.0944)
OKLCHoklch(82.33% 0.099 107.1)
XYZxyz(49.7248, 56.5602, 27.6959)
Luminance0.5656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA7D #7D7FCC
analogous
#CCA37D #CCCA7D #A7CC7D
triadic
#CCCA7D #7DCCCA #CA7DCC
tetradic
#CCCA7D #7DCCA3 #7D7FCC #CC7DA7
square
#CCCA7D #7DCCA3 #7D7FCC #CC7DA7
split-complementary
#CCCA7D #7DA7CC #A37DCC
monochromatic
#94923A #BBB851 #CCCA7D #DDDCA9 #EEEED5

Accessibility & contrast

On white

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

On black

12.31
#CCCA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA7D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA7D#FFFFFF#000000##000000
##CCCA7D1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca7d;
/* rgb */ color: rgb(204, 202, 125);
/* oklch */ color: oklch(82.3% 0.099 107.1);
Tailwind
colors: {
  custom: {
    50: '#dddaa4',
    500: '#ccca7d',
    950: '#000000',
  },
}
SCSS
$custom: #ccca7d;
$custom-light: #dddaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca7d",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 58.481,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82328,
    "c": 0.09874,
    "h": 107.1
  },
  "luminance": 0.56559
}

Semantic roles & 50–950 ramp

primary
#CCCA7D
secondary
#52549B
accent
#32B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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