#C8C170#C8C170

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

Color values

HEX#C8C170
RGBrgb(200, 193, 112)
HSLhsl(55, 44%, 61%)
HSVhsv(55, 44%, 78%)
CMYKcmyk(0%, 3.5%, 44%, 21.6%)
CIE-LABlab(77.04, -8.98, 41.52)
CIE-LCHlch(77.04, 42.48, 102.20°)
OKLaboklab(79.89% -0.0252 0.1001)
OKLCHoklch(79.89% 0.103 104.1)
XYZxyz(45.8150, 51.5904, 22.8706)
Luminance0.5159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C170 #7077C8
analogous
#C89570 #C8C170 #A3C870
triadic
#C8C170 #70C8C1 #C170C8
tetradic
#C8C170 #70C895 #7077C8 #C870A3
square
#C8C170 #70C895 #7077C8 #C870A3
split-complementary
#C8C170 #70A3C8 #9570C8
monochromatic
#898235 #B5AC46 #C8C170 #D9D49C #EAE7C8

Accessibility & contrast

On white

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

On black

11.32
#C8C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C170
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C170#FFFFFF#000000##000000
##C8C1701.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c170;
/* rgb */ color: rgb(200, 193, 112);
/* oklch */ color: oklch(79.9% 0.103 104.1);
Tailwind
colors: {
  custom: {
    50: '#dad39a',
    500: '#c8c170',
    950: '#000000',
  },
}
SCSS
$custom: #c8c170;
$custom-light: #dad39a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c170",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 55.227,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.7989,
    "c": 0.10323,
    "h": 104.1
  },
  "luminance": 0.51589
}

Semantic roles & 50–950 ramp

primary
#C8C170
secondary
#4C5190
accent
#39B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8C170

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

Preview Lab → · Contrast checker → · Palette generator →

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