#CCC167#CCC167

#CCC167 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.113 H 102.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CCC167
RGBrgb(204, 193, 103)
HSLhsl(53, 50%, 60%)
HSVhsv(53, 50%, 80%)
CMYKcmyk(0%, 5.4%, 49.5%, 20%)
CIE-LABlab(77.26, -8.21, 46.32)
CIE-LCHlch(77.26, 47.04, 100.05°)
OKLaboklab(80.11% -0.0241 0.11)
OKLCHoklch(80.11% 0.113 102.4)
XYZxyz(46.4213, 51.9581, 20.4130)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC167 #6772CC
analogous
#CC8E67 #CCC167 #A5CC67
triadic
#CCC167 #67CCC1 #C167CC
tetradic
#CCC167 #67CC8E #6772CC #CC67A5
square
#CCC167 #67CC8E #6772CC #CC67A5
split-complementary
#CCC167 #67A5CC #8E67CC
monochromatic
#8A802E #B8AB3E #CCC167 #DBD495 #EBE6C3

Accessibility & contrast

On white

1.84
#CCC167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CCC167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC167
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC167#FFFFFF#000000##000000
##CCC1671.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC5F
Deuteranopia (green-blind)
#D3C16B
Tritanopia (blue-blind)
#D9B6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc167;
/* rgb */ color: rgb(204, 193, 103);
/* oklch */ color: oklch(80.1% 0.113 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddd394',
    500: '#ccc167',
    950: '#000000',
  },
}
SCSS
$custom: #ccc167;
$custom-light: #ddd394;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc167",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 103
  },
  "hsl": {
    "h": 53.465,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80109,
    "c": 0.11264,
    "h": 102.4
  },
  "luminance": 0.51957
}

Semantic roles & 50–950 ramp

primary
#CCC167
secondary
#464E91
accent
#39BD28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC167

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

Preview Lab → · Contrast checker → · Palette generator →

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