#CCCA8F#CCCA8F

#CCCA8F is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.078 H 106.3°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CCCA8F
RGBrgb(204, 202, 143)
HSLhsl(58, 37%, 68%)
HSVhsv(58, 30%, 80%)
CMYKcmyk(0%, 1%, 29.9%, 20%)
CIE-LABlab(80.21, -8.47, 29.79)
CIE-LCHlch(80.21, 30.97, 105.87°)
OKLaboklab(82.65% -0.0218 0.0744)
OKLCHoklch(82.65% 0.078 106.3)
XYZxyz(50.9806, 57.0625, 34.3098)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA8F #8F91CC
analogous
#CCAB8F #CCCA8F #AFCC8F
triadic
#CCCA8F #8FCCCA #CA8FCC
tetradic
#CCCA8F #8FCCAB #8F91CC #CC8FAF
square
#CCCA8F #8FCCAB #8F91CC #CC8FAF
split-complementary
#CCCA8F #8FAFCC #AB8FCC
monochromatic
#9A9846 #B9B665 #CCCA8F #DFDEB9 #F2F2E3

Accessibility & contrast

On white

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

On black

12.41
#CCCA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA8F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA8F#FFFFFF#000000##000000
##CCCA8F1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca8f;
/* rgb */ color: rgb(204, 202, 143);
/* oklch */ color: oklch(82.6% 0.078 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcdab0',
    500: '#ccca8f',
    950: '#000000',
  },
}
SCSS
$custom: #ccca8f;
$custom-light: #dcdab0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca8f",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 143
  },
  "hsl": {
    "h": 58.033,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.82645,
    "c": 0.07752,
    "h": 106.3
  },
  "luminance": 0.57062
}

Semantic roles & 50–950 ramp

primary
#CCCA8F
secondary
#5E60A1
accent
#39B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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