#C5C170#C5C170

#C5C170 is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.103 H 106.0°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#C5C170
RGBrgb(197, 193, 112)
HSLhsl(57, 42%, 61%)
HSVhsv(57, 43%, 77%)
CMYKcmyk(0%, 2%, 43.1%, 22.7%)
CIE-LABlab(76.79, -10.19, 41.16)
CIE-LCHlch(76.79, 42.40, 103.91°)
OKLaboklab(79.64% -0.0286 0.0993)
OKLCHoklch(79.64% 0.103 106)
XYZxyz(45.0214, 51.1812, 22.8334)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C170 #7074C5
analogous
#C59670 #C5C170 #9FC570
triadic
#C5C170 #70C5C1 #C170C5
tetradic
#C5C170 #70C596 #7074C5 #C5709F
square
#C5C170 #70C596 #7074C5 #C5709F
split-complementary
#C5C170 #709FC5 #9670C5
monochromatic
#858136 #B0AB48 #C5C170 #D7D49C #E8E7C7

Accessibility & contrast

On white

1.87
#C5C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#C5C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C170
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C170#FFFFFF#000000##000000
##C5C1701.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB69
Deuteranopia (green-blind)
#CFBF74
Tritanopia (blue-blind)
#D0B8AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c170;
/* rgb */ color: rgb(197, 193, 112);
/* oklch */ color: oklch(79.6% 0.103 106.0);
Tailwind
colors: {
  custom: {
    50: '#d8d39a',
    500: '#c5c170',
    950: '#000000',
  },
}
SCSS
$custom: #c5c170;
$custom-light: #d8d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c170",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 57.176,
    "s": 42.289,
    "l": 60.588
  },
  "oklch": {
    "l": 0.79635,
    "c": 0.10334,
    "h": 106
  },
  "luminance": 0.5118
}

Semantic roles & 50–950 ramp

primary
#C5C170
secondary
#4C4F8D
accent
#36B530
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C5C170

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

Preview Lab → · Contrast checker → · Palette generator →

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