#C9C170#C9C170

#C9C170 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.103 H 103.5°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#C9C170
RGBrgb(201, 193, 112)
HSLhsl(55, 45%, 61%)
HSVhsv(55, 44%, 79%)
CMYKcmyk(0%, 4%, 44.3%, 21.2%)
CIE-LABlab(77.12, -8.57, 41.64)
CIE-LCHlch(77.12, 42.51, 101.63°)
OKLaboklab(79.98% -0.0241 0.1004)
OKLCHoklch(79.98% 0.103 103.5)
XYZxyz(46.0830, 51.7286, 22.8832)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C170 #7078C9
analogous
#C99570 #C9C170 #A5C970
triadic
#C9C170 #70C9C1 #C170C9
tetradic
#C9C170 #70C995 #7078C9 #C970A5
square
#C9C170 #70C995 #7078C9 #C970A5
split-complementary
#C9C170 #70A5C9 #9570C9
monochromatic
#8A8334 #B7AD45 #C9C170 #DAD49C #EBE8C9

Accessibility & contrast

On white

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

On black

11.35
#C9C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C170
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C170#FFFFFF#000000##000000
##C9C1701.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC69
Deuteranopia (green-blind)
#D1C073
Tritanopia (blue-blind)
#D5B7AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c170;
/* rgb */ color: rgb(201, 193, 112);
/* oklch */ color: oklch(80.0% 0.103 103.5);
Tailwind
colors: {
  custom: {
    50: '#dbd39a',
    500: '#c9c170',
    950: '#000000',
  },
}
SCSS
$custom: #c9c170;
$custom-light: #dbd39a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c170",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 54.607,
    "s": 45.178,
    "l": 61.373
  },
  "oklch": {
    "l": 0.79976,
    "c": 0.10322,
    "h": 103.5
  },
  "luminance": 0.51727
}

Semantic roles & 50–950 ramp

primary
#C9C170
secondary
#4C5292
accent
#3AB82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C9C170

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

Preview Lab → · Contrast checker → · Palette generator →

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