#C9C161#C9C161

#C9C161 is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.119 H 104.5°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#C9C161
RGBrgb(201, 193, 97)
HSLhsl(55, 49%, 58%)
HSVhsv(55, 52%, 79%)
CMYKcmyk(0%, 4%, 51.7%, 21.2%)
CIE-LABlab(76.93, -9.97, 48.77)
CIE-LCHlch(76.93, 49.78, 101.55°)
OKLaboklab(79.77% -0.0296 0.1149)
OKLCHoklch(79.77% 0.119 104.5)
XYZxyz(45.3163, 51.4219, 18.8453)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C161 #6169C9
analogous
#C98D61 #C9C161 #9DC961
triadic
#C9C161 #61C9C1 #C161C9
tetradic
#C9C161 #61C98D #6169C9 #C9619D
square
#C9C161 #61C98D #6169C9 #C9619D
split-complementary
#C9C161 #619DC9 #8D61C9
monochromatic
#837C2D #B0A83C #C9C161 #D9D38F #E8E5BC

Accessibility & contrast

On white

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

On black

11.28
#C9C161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C161
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C161#FFFFFF#000000##000000
##C9C1611.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB58
Deuteranopia (green-blind)
#D2C066
Tritanopia (blue-blind)
#D6B6AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c161;
/* rgb */ color: rgb(201, 193, 97);
/* oklch */ color: oklch(79.8% 0.119 104.5);
Tailwind
colors: {
  custom: {
    50: '#dbd390',
    500: '#c9c161',
    950: '#000000',
  },
}
SCSS
$custom: #c9c161;
$custom-light: #dbd390;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c161",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 55.385,
    "s": 49.057,
    "l": 58.431
  },
  "oklch": {
    "l": 0.7977,
    "c": 0.11866,
    "h": 104.5
  },
  "luminance": 0.51421
}

Semantic roles & 50–950 ramp

primary
#C9C161
secondary
#44498B
accent
#5AD94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C9C161

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

Preview Lab → · Contrast checker → · Palette generator →

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