#C4C170#C4C170

#C4C170 is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.103 H 106.7°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#C4C170
RGBrgb(196, 193, 112)
HSLhsl(58, 42%, 60%)
HSVhsv(58, 43%, 77%)
CMYKcmyk(0%, 1.5%, 42.9%, 23.1%)
CIE-LABlab(76.71, -10.60, 41.04)
CIE-LCHlch(76.71, 42.38, 104.48°)
OKLaboklab(79.55% -0.0297 0.0991)
OKLCHoklch(79.55% 0.103 106.7)
XYZxyz(44.7604, 51.0466, 22.8212)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C170 #7073C4
analogous
#C49770 #C4C170 #9DC470
triadic
#C4C170 #70C4C1 #C170C4
tetradic
#C4C170 #70C497 #7073C4 #C4709D
square
#C4C170 #70C497 #7073C4 #C4709D
split-complementary
#C4C170 #709DC4 #9770C4
monochromatic
#838136 #AFAB48 #C4C170 #D6D49B #E8E7C7

Accessibility & contrast

On white

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

On black

11.21
#C4C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C170
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C170#FFFFFF#000000##000000
##C4C1701.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c170;
/* rgb */ color: rgb(196, 193, 112);
/* oklch */ color: oklch(79.5% 0.103 106.7);
Tailwind
colors: {
  custom: {
    50: '#d7d39a',
    500: '#c4c170',
    950: '#000000',
  },
}
SCSS
$custom: #c4c170;
$custom-light: #d7d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c170",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 57.857,
    "s": 41.584,
    "l": 60.392
  },
  "oklch": {
    "l": 0.7955,
    "c": 0.10342,
    "h": 106.7
  },
  "luminance": 0.51046
}

Semantic roles & 50–950 ramp

primary
#C4C170
secondary
#4D4F8C
accent
#36B531
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C4C170

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

Preview Lab → · Contrast checker → · Palette generator →

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