#CCCC90#CCCC90

#CCCC90 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.079 H 108.0°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CCCC90
RGBrgb(204, 204, 144)
HSLhsl(60, 37%, 68%)
HSVhsv(60, 29%, 80%)
CMYKcmyk(0%, 0%, 29.4%, 20%)
CIE-LABlab(80.76, -9.37, 30.00)
CIE-LCHlch(80.76, 31.42, 107.34°)
OKLaboklab(83.08% -0.0243 0.0749)
OKLCHoklch(83.08% 0.079 108)
XYZxyz(51.5290, 58.0375, 34.8680)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC90 #9090CC
analogous
#CCAE90 #CCCC90 #AECC90
triadic
#CCCC90 #90CCCC #CC90CC
tetradic
#CCCC90 #90CCAE #9090CC #CC90AE
square
#CCCC90 #90CCAE #9090CC #CC90AE
split-complementary
#CCCC90 #90AECC #AE90CC
monochromatic
#9B9B47 #B9B966 #CCCC90 #DFDFBA #F3F3E4

Accessibility & contrast

On white

1.67
#CCCC90 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#CCCC90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC90
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC90#FFFFFF#000000##000000
##CCCC901.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C78C
Deuteranopia (green-blind)
#D7CA92
Tritanopia (blue-blind)
#D5C5BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc90;
/* rgb */ color: rgb(204, 204, 144);
/* oklch */ color: oklch(83.1% 0.079 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcdbb1',
    500: '#cccc90',
    950: '#000000',
  },
}
SCSS
$custom: #cccc90;
$custom-light: #dcdbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc90",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 144
  },
  "hsl": {
    "h": 60,
    "s": 37.037,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83083,
    "c": 0.07876,
    "h": 108
  },
  "luminance": 0.58037
}

Semantic roles & 50–950 ramp

primary
#CCCC90
secondary
#5F5FA1
accent
#36B036
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCC90

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

Preview Lab → · Contrast checker → · Palette generator →

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