#C9C168#C9C168

#C9C168 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.112 H 104.1°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#C9C168
RGBrgb(201, 193, 104)
HSLhsl(55, 47%, 60%)
HSVhsv(55, 48%, 79%)
CMYKcmyk(0%, 4%, 48.3%, 21.2%)
CIE-LABlab(77.02, -9.35, 45.48)
CIE-LCHlch(77.02, 46.43, 101.61°)
OKLaboklab(79.86% -0.0271 0.1083)
OKLCHoklch(79.86% 0.112 104.1)
XYZxyz(45.6572, 51.5583, 20.6407)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C168 #6870C9
analogous
#C99168 #C9C168 #A0C968
triadic
#C9C168 #68C9C1 #C168C9
tetradic
#C9C168 #68C991 #6870C9 #C968A0
square
#C9C168 #68C991 #6870C9 #C968A0
split-complementary
#C9C168 #68A0C9 #9168C9
monochromatic
#877F30 #B4AA40 #C9C168 #D9D495 #E9E6C2

Accessibility & contrast

On white

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

On black

11.31
#C9C168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C168
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C168#FFFFFF#000000##000000
##C9C1681.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC60
Deuteranopia (green-blind)
#D2C06C
Tritanopia (blue-blind)
#D5B7AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c168;
/* rgb */ color: rgb(201, 193, 104);
/* oklch */ color: oklch(79.9% 0.112 104.1);
Tailwind
colors: {
  custom: {
    50: '#dbd395',
    500: '#c9c168',
    950: '#000000',
  },
}
SCSS
$custom: #c9c168;
$custom-light: #dbd395;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c168",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 104
  },
  "hsl": {
    "h": 55.052,
    "s": 47.317,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79862,
    "c": 0.11165,
    "h": 104.1
  },
  "luminance": 0.51557
}

Semantic roles & 50–950 ramp

primary
#C9C168
secondary
#474D8E
accent
#5CD751
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C9C168

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

Preview Lab → · Contrast checker → · Palette generator →

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