#CCCA71#CCCA71

#CCCA71 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.112 H 107.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CCCA71
RGBrgb(204, 202, 113)
HSLhsl(59, 47%, 62%)
HSVhsv(59, 45%, 80%)
CMYKcmyk(0%, 1%, 44.6%, 20%)
CIE-LABlab(79.77, -11.87, 44.47)
CIE-LCHlch(79.77, 46.03, 104.94°)
OKLaboklab(82.15% -0.0336 0.1067)
OKLCHoklch(82.15% 0.112 107.5)
XYZxyz(49.0040, 56.2718, 23.8997)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA71 #7173CC
analogous
#CC9C71 #CCCA71 #A1CC71
triadic
#CCCA71 #71CCCA #CA71CC
tetradic
#CCCA71 #71CC9C #7173CC #CC71A1
square
#CCCA71 #71CC9C #7173CC #CC71A1
split-complementary
#CCCA71 #71A1CC #9C71CC
monochromatic
#8F8D33 #BCB944 #CCCA71 #DCDB9E #ECECCB

Accessibility & contrast

On white

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

On black

12.25
#CCCA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA71
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA71#FFFFFF#000000##000000
##CCCA711.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46A
Deuteranopia (green-blind)
#D9C775
Tritanopia (blue-blind)
#D8C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca71;
/* rgb */ color: rgb(204, 202, 113);
/* oklch */ color: oklch(82.1% 0.112 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddda9b',
    500: '#ccca71',
    950: '#000000',
  },
}
SCSS
$custom: #ccca71;
$custom-light: #ddda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca71",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 58.681,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82145,
    "c": 0.11188,
    "h": 107.5
  },
  "luminance": 0.56271
}

Semantic roles & 50–950 ramp

primary
#CCCA71
secondary
#4B4D96
accent
#2EBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCA71

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

Preview Lab → · Contrast checker → · Palette generator →

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