#CCC181#CCC181

#CCC181 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.084 H 99.7°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CCC181
RGBrgb(204, 193, 129)
HSLhsl(51, 42%, 65%)
HSVhsv(51, 37%, 80%)
CMYKcmyk(0%, 5.4%, 36.8%, 20%)
CIE-LABlab(77.62, -5.53, 33.64)
CIE-LCHlch(77.62, 34.10, 99.33°)
OKLaboklab(80.51% -0.0141 0.083)
OKLCHoklch(80.51% 0.084 99.7)
XYZxyz(47.9350, 52.5636, 28.3853)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC181 #818CCC
analogous
#CC9B81 #CCC181 #B1CC81
triadic
#CCC181 #81CCC1 #C181CC
tetradic
#CCC181 #81CC9B #818CCC #CC81B1
square
#CCC181 #81CC9B #818CCC #CC81B1
split-complementary
#CCC181 #81B1CC #9B81CC
monochromatic
#96893D #BAAC55 #CCC181 #DED6AD #EFECD8

Accessibility & contrast

On white

1.82
#CCC181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CCC181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC181
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC181#FFFFFF#000000##000000
##CCC1811.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD7C
Deuteranopia (green-blind)
#D0C283
Tritanopia (blue-blind)
#D7B8B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc181;
/* rgb */ color: rgb(204, 193, 129);
/* oklch */ color: oklch(80.5% 0.084 99.7);
Tailwind
colors: {
  custom: {
    50: '#dcd3a6',
    500: '#ccc181',
    950: '#000000',
  },
}
SCSS
$custom: #ccc181;
$custom-light: #dcd3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc181",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 129
  },
  "hsl": {
    "h": 51.2,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.80512,
    "c": 0.08417,
    "h": 99.7
  },
  "luminance": 0.52562
}

Semantic roles & 50–950 ramp

primary
#CCC181
secondary
#555F9C
accent
#44B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC181

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

Preview Lab → · Contrast checker → · Palette generator →

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