#CCC161#CCC161

#CCC161 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.119 H 102.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CCC161
RGBrgb(204, 193, 97)
HSLhsl(54, 51%, 59%)
HSVhsv(54, 52%, 80%)
CMYKcmyk(0%, 5.4%, 52.5%, 20%)
CIE-LABlab(77.19, -8.73, 49.13)
CIE-LCHlch(77.19, 49.90, 100.07°)
OKLaboklab(80.03% -0.0262 0.1156)
OKLCHoklch(80.03% 0.119 102.8)
XYZxyz(46.1309, 51.8419, 18.8834)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC161 #616CCC
analogous
#CC8C61 #CCC161 #A2CC61
triadic
#CCC161 #61CCC1 #C161CC
tetradic
#CCC161 #61CC8C #616CCC #CC61A2
square
#CCC161 #61CC8C #616CCC #CC61A2
split-complementary
#CCC161 #61A2CC #8C61CC
monochromatic
#877E2C #B5A93B #CCC161 #DBD38F #EAE5BE

Accessibility & contrast

On white

1.85
#CCC161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CCC161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC161
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC161#FFFFFF#000000##000000
##CCC1611.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC58
Deuteranopia (green-blind)
#D3C166
Tritanopia (blue-blind)
#D9B6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc161;
/* rgb */ color: rgb(204, 193, 97);
/* oklch */ color: oklch(80.0% 0.119 102.8);
Tailwind
colors: {
  custom: {
    50: '#ded390',
    500: '#ccc161',
    950: '#000000',
  },
}
SCSS
$custom: #ccc161;
$custom-light: #ded390;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc161",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 53.832,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80031,
    "c": 0.11857,
    "h": 102.8
  },
  "luminance": 0.5184
}

Semantic roles & 50–950 ramp

primary
#CCC161
secondary
#434B8E
accent
#5CDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC161

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

Preview Lab → · Contrast checker → · Palette generator →

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