#CCC481#CCC481

#CCC481 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.087 H 102.3°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CCC481
RGBrgb(204, 196, 129)
HSLhsl(54, 42%, 65%)
HSVhsv(54, 37%, 80%)
CMYKcmyk(0%, 3.9%, 36.8%, 20%)
CIE-LABlab(78.41, -7.08, 34.67)
CIE-LCHlch(78.41, 35.39, 101.54°)
OKLaboklab(81.14% -0.0186 0.0854)
OKLCHoklch(81.14% 0.087 102.3)
XYZxyz(48.6049, 53.9034, 28.6086)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC481 #8189CC
analogous
#CC9E81 #CCC481 #AECC81
triadic
#CCC481 #81CCC4 #C481CC
tetradic
#CCC481 #81CC9E #8189CC #CC81AE
square
#CCC481 #81CC9E #8189CC #CC81AE
split-complementary
#CCC481 #81AECC #9E81CC
monochromatic
#968C3D #BAB055 #CCC481 #DED8AD #EFEDD8

Accessibility & contrast

On white

1.78
#CCC481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CCC481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC481
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC481#FFFFFF#000000##000000
##CCC4811.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07C
Deuteranopia (green-blind)
#D2C484
Tritanopia (blue-blind)
#D7BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc481;
/* rgb */ color: rgb(204, 196, 129);
/* oklch */ color: oklch(81.1% 0.087 102.3);
Tailwind
colors: {
  custom: {
    50: '#dcd5a6',
    500: '#ccc481',
    950: '#000000',
  },
}
SCSS
$custom: #ccc481;
$custom-light: #dcd5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc481",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 129
  },
  "hsl": {
    "h": 53.6,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81137,
    "c": 0.08736,
    "h": 102.3
  },
  "luminance": 0.53902
}

Semantic roles & 50–950 ramp

primary
#CCC481
secondary
#555C9C
accent
#3EB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC481

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

Preview Lab → · Contrast checker → · Palette generator →

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