#CCCA90#CCCA90

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

Color values

HEX#CCCA90
RGBrgb(204, 202, 144)
HSLhsl(58, 37%, 68%)
HSVhsv(58, 29%, 80%)
CMYKcmyk(0%, 1%, 29.4%, 20%)
CIE-LABlab(80.23, -8.34, 29.29)
CIE-LCHlch(80.23, 30.46, 105.90°)
OKLaboklab(82.66% -0.0214 0.0732)
OKLCHoklch(82.66% 0.076 106.3)
XYZxyz(51.0567, 57.0929, 34.7106)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA90 #9092CC
analogous
#CCAC90 #CCCA90 #B0CC90
triadic
#CCCA90 #90CCCA #CA90CC
tetradic
#CCCA90 #90CCAC #9092CC #CC90B0
square
#CCCA90 #90CCAC #9092CC #CC90B0
split-complementary
#CCCA90 #90B0CC #AC90CC
monochromatic
#9B9847 #B9B666 #CCCA90 #DFDEBA #F3F2E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCA90#FFFFFF#000000##000000
##CCCA901.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)
#D4C58C
Deuteranopia (green-blind)
#D5C892
Tritanopia (blue-blind)
#D5C3BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca90;
/* rgb */ color: rgb(204, 202, 144);
/* oklch */ color: oklch(82.7% 0.076 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcdab1',
    500: '#ccca90',
    950: '#000000',
  },
}
SCSS
$custom: #ccca90;
$custom-light: #dcdab1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca90",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 144
  },
  "hsl": {
    "h": 58,
    "s": 37.037,
    "l": 68.235
  },
  "oklch": {
    "l": 0.82664,
    "c": 0.0763,
    "h": 106.3
  },
  "luminance": 0.57092
}

Semantic roles & 50–950 ramp

primary
#CCCA90
secondary
#5F61A1
accent
#3AB036
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCA90

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

Preview Lab → · Contrast checker → · Palette generator →

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