#C8C164#C8C164

#C8C164 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.116 H 104.9°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C8C164
RGBrgb(200, 193, 100)
HSLhsl(56, 48%, 59%)
HSVhsv(56, 50%, 78%)
CMYKcmyk(0%, 3.5%, 50%, 21.6%)
CIE-LABlab(76.88, -10.12, 47.25)
CIE-LCHlch(76.88, 48.32, 102.09°)
OKLaboklab(79.72% -0.0297 0.1119)
OKLCHoklch(79.72% 0.116 104.9)
XYZxyz(45.1908, 51.3407, 19.5834)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C164 #646BC8
analogous
#C88F64 #C8C164 #9DC864
triadic
#C8C164 #64C8C1 #C164C8
tetradic
#C8C164 #64C88F #646BC8 #C8649D
square
#C8C164 #64C88F #646BC8 #C8649D
split-complementary
#C8C164 #649DC8 #8F64C8
monochromatic
#837D2F #B0A83F #C8C164 #D8D391 #E8E5BE

Accessibility & contrast

On white

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

On black

11.27
#C8C164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C164
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C164#FFFFFF#000000##000000
##C8C1641.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB5C
Deuteranopia (green-blind)
#D2C068
Tritanopia (blue-blind)
#D4B6AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c164;
/* rgb */ color: rgb(200, 193, 100);
/* oklch */ color: oklch(79.7% 0.116 104.9);
Tailwind
colors: {
  custom: {
    50: '#dbd392',
    500: '#c8c164',
    950: '#000000',
  },
}
SCSS
$custom: #c8c164;
$custom-light: #dbd392;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c164",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 100
  },
  "hsl": {
    "h": 55.8,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79722,
    "c": 0.11575,
    "h": 104.9
  },
  "luminance": 0.51339
}

Semantic roles & 50–950 ramp

primary
#C8C164
secondary
#454A8B
accent
#5AD751
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C164

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

Preview Lab → · Contrast checker → · Palette generator →

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