#CCCA91#CCCA91

#CCCA91 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.075 H 106.2°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CCCA91
RGBrgb(204, 202, 145)
HSLhsl(58, 37%, 68%)
HSVhsv(58, 29%, 80%)
CMYKcmyk(0%, 1%, 28.9%, 20%)
CIE-LABlab(80.25, -8.21, 28.79)
CIE-LCHlch(80.25, 29.94, 105.92°)
OKLaboklab(82.68% -0.021 0.0721)
OKLCHoklch(82.68% 0.075 106.2)
XYZxyz(51.1334, 57.1236, 35.1149)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA91 #9193CC
analogous
#CCAC91 #CCCA91 #B0CC91
triadic
#CCCA91 #91CCCA #CA91CC
tetradic
#CCCA91 #91CCAC #9193CC #CC91B0
square
#CCCA91 #91CCAC #9193CC #CC91B0
split-complementary
#CCCA91 #91B0CC #AC91CC
monochromatic
#9B9848 #B9B667 #CCCA91 #DFDEBB #F3F2E5

Accessibility & contrast

On white

1.69
#CCCA91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CCCA91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA91
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA91#FFFFFF#000000##000000
##CCCA911.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C68D
Deuteranopia (green-blind)
#D5C893
Tritanopia (blue-blind)
#D5C3BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca91;
/* rgb */ color: rgb(204, 202, 145);
/* oklch */ color: oklch(82.7% 0.075 106.2);
Tailwind
colors: {
  custom: {
    50: '#dcdab1',
    500: '#ccca91',
    950: '#000000',
  },
}
SCSS
$custom: #ccca91;
$custom-light: #dcdab1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca91",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 145
  },
  "hsl": {
    "h": 57.966,
    "s": 36.646,
    "l": 68.431
  },
  "oklch": {
    "l": 0.82684,
    "c": 0.07507,
    "h": 106.2
  },
  "luminance": 0.57123
}

Semantic roles & 50–950 ramp

primary
#CCCA91
secondary
#6062A1
accent
#3AB036
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CCCA91

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

Preview Lab → · Contrast checker → · Palette generator →

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