#C9C166#C9C166

#C9C166 is a light, moderate yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.114 H 104.2°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#C9C166
RGBrgb(201, 193, 102)
HSLhsl(55, 48%, 59%)
HSVhsv(55, 49%, 79%)
CMYKcmyk(0%, 4%, 49.3%, 21.2%)
CIE-LABlab(76.99, -9.53, 46.43)
CIE-LCHlch(76.99, 47.40, 101.60°)
OKLaboklab(79.83% -0.0278 0.1102)
OKLCHoklch(79.83% 0.114 104.2)
XYZxyz(45.5568, 51.5181, 20.1120)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C166 #666EC9
analogous
#C99066 #C9C166 #9FC966
triadic
#C9C166 #66C9C1 #C166C9
tetradic
#C9C166 #66C990 #666EC9 #C9669F
square
#C9C166 #66C990 #666EC9 #C9669F
split-complementary
#C9C166 #669FC9 #9066C9
monochromatic
#857F2F #B3A93F #C9C166 #D9D393 #E9E6C0

Accessibility & contrast

On white

1.86
#C9C166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#C9C166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C166
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C166#FFFFFF#000000##000000
##C9C1661.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB5E
Deuteranopia (green-blind)
#D2C06A
Tritanopia (blue-blind)
#D5B6AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c166;
/* rgb */ color: rgb(201, 193, 102);
/* oklch */ color: oklch(79.8% 0.114 104.2);
Tailwind
colors: {
  custom: {
    50: '#dbd394',
    500: '#c9c166',
    950: '#000000',
  },
}
SCSS
$custom: #c9c166;
$custom-light: #dbd394;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c166",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 55.152,
    "s": 47.826,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79835,
    "c": 0.11369,
    "h": 104.2
  },
  "luminance": 0.51517
}

Semantic roles & 50–950 ramp

primary
#C9C166
secondary
#464C8D
accent
#5BD750
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C9C166

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

Preview Lab → · Contrast checker → · Palette generator →

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