#C2C170#C2C170

#C2C170 is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.104 H 107.9°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#C2C170
RGBrgb(194, 193, 112)
HSLhsl(59, 40%, 60%)
HSVhsv(59, 42%, 76%)
CMYKcmyk(0%, 0.5%, 42.3%, 23.9%)
CIE-LABlab(76.55, -11.40, 40.80)
CIE-LCHlch(76.55, 42.36, 105.61°)
OKLaboklab(79.38% -0.0319 0.0986)
OKLCHoklch(79.38% 0.104 107.9)
XYZxyz(44.2435, 50.7801, 22.7970)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C170 #7071C2
analogous
#C29870 #C2C170 #9AC270
triadic
#C2C170 #70C2C1 #C170C2
tetradic
#C2C170 #70C298 #7071C2 #C2709A
square
#C2C170 #70C298 #7071C2 #C2709A
split-complementary
#C2C170 #709AC2 #9870C2
monochromatic
#818037 #ACAA49 #C2C170 #D4D49B #E7E6C6

Accessibility & contrast

On white

1.88
#C2C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#C2C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C170
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C170#FFFFFF#000000##000000
##C2C1701.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6A
Deuteranopia (green-blind)
#CEBE74
Tritanopia (blue-blind)
#CDB8AD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c170;
/* rgb */ color: rgb(194, 193, 112);
/* oklch */ color: oklch(79.4% 0.104 107.9);
Tailwind
colors: {
  custom: {
    50: '#d6d39a',
    500: '#c2c170',
    950: '#000000',
  },
}
SCSS
$custom: #c2c170;
$custom-light: #d6d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c170",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 59.268,
    "s": 40.196,
    "l": 60
  },
  "oklch": {
    "l": 0.79382,
    "c": 0.10359,
    "h": 107.9
  },
  "luminance": 0.50779
}

Semantic roles & 50–950 ramp

primary
#C2C170
secondary
#4D4E89
accent
#59D058
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #C2C170

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

Preview Lab → · Contrast checker → · Palette generator →

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