#CCC490#CCC490

#CCC490 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.069 H 100.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CCC490
RGBrgb(204, 196, 144)
HSLhsl(52, 37%, 68%)
HSVhsv(52, 29%, 80%)
CMYKcmyk(0%, 3.9%, 29.4%, 20%)
CIE-LABlab(78.65, -5.24, 27.18)
CIE-LCHlch(78.65, 27.68, 100.91°)
OKLaboklab(81.42% -0.0125 0.0682)
OKLCHoklch(81.42% 0.069 100.4)
XYZxyz(49.6762, 54.3319, 34.2504)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC490 #9098CC
analogous
#CCA690 #CCC490 #B6CC90
triadic
#CCC490 #90CCC4 #C490CC
tetradic
#CCC490 #90CCA6 #9098CC #CC90B6
square
#CCC490 #90CCA6 #9098CC #CC90B6
split-complementary
#CCC490 #90B6CC #A690CC
monochromatic
#9B8F47 #B9AE66 #CCC490 #DFDABA #F3F1E4

Accessibility & contrast

On white

1.77
#CCC490 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CCC490 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC490
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC490#FFFFFF#000000##000000
##CCC4901.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC18D
Deuteranopia (green-blind)
#D0C492
Tritanopia (blue-blind)
#D5BDB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc490;
/* rgb */ color: rgb(204, 196, 144);
/* oklch */ color: oklch(81.4% 0.069 100.4);
Tailwind
colors: {
  custom: {
    50: '#dcd5b1',
    500: '#ccc490',
    950: '#000000',
  },
}
SCSS
$custom: #ccc490;
$custom-light: #dcd5b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc490",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 144
  },
  "hsl": {
    "h": 52,
    "s": 37.037,
    "l": 68.235
  },
  "oklch": {
    "l": 0.81416,
    "c": 0.06935,
    "h": 100.4
  },
  "luminance": 0.54331
}

Semantic roles & 50–950 ramp

primary
#CCC490
secondary
#5F68A1
accent
#46B036
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC490

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

Preview Lab → · Contrast checker → · Palette generator →

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