#CCCA8E#CCCA8E

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

Color values

HEX#CCCA8E
RGBrgb(204, 202, 142)
HSLhsl(58, 38%, 68%)
HSVhsv(58, 30%, 80%)
CMYKcmyk(0%, 1%, 30.4%, 20%)
CIE-LABlab(80.20, -8.60, 30.29)
CIE-LCHlch(80.20, 31.48, 105.85°)
OKLaboklab(82.63% -0.0222 0.0755)
OKLCHoklch(82.63% 0.079 106.4)
XYZxyz(50.9052, 57.0323, 33.9127)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA8E #8E90CC
analogous
#CCAB8E #CCCA8E #AFCC8E
triadic
#CCCA8E #8ECCCA #CA8ECC
tetradic
#CCCA8E #8ECCAB #8E90CC #CC8EAF
square
#CCCA8E #8ECCAB #8E90CC #CC8EAF
split-complementary
#CCCA8E #8EAFCC #AB8ECC
monochromatic
#9A9746 #B9B664 #CCCA8E #DFDEB8 #F2F2E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCA8E#FFFFFF#000000##000000
##CCCA8E1.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)
#D4C58A
Deuteranopia (green-blind)
#D5C890
Tritanopia (blue-blind)
#D5C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca8e;
/* rgb */ color: rgb(204, 202, 142);
/* oklch */ color: oklch(82.6% 0.079 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcdaaf',
    500: '#ccca8e',
    950: '#000000',
  },
}
SCSS
$custom: #ccca8e;
$custom-light: #dcdaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca8e",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 142
  },
  "hsl": {
    "h": 58.065,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82626,
    "c": 0.07874,
    "h": 106.4
  },
  "luminance": 0.57031
}

Semantic roles & 50–950 ramp

primary
#CCCA8E
secondary
#5D60A1
accent
#39B135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCA8E

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

Preview Lab → · Contrast checker → · Palette generator →

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