#C2C161#C2C161

#C2C161 is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.119 H 108.3°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C2C161
RGBrgb(194, 193, 97)
HSLhsl(59, 44%, 57%)
HSVhsv(59, 50%, 76%)
CMYKcmyk(0%, 0.5%, 50%, 23.9%)
CIE-LABlab(76.36, -12.85, 47.95)
CIE-LCHlch(76.36, 49.64, 105.00°)
OKLaboklab(79.17% -0.0374 0.1132)
OKLCHoklch(79.17% 0.119 108.3)
XYZxyz(43.4768, 50.4734, 18.7590)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C161 #6162C2
analogous
#C29061 #C2C161 #93C261
triadic
#C2C161 #61C2C1 #C161C2
tetradic
#C2C161 #61C290 #6162C2 #C26193
square
#C2C161 #61C290 #6162C2 #C26193
split-complementary
#C2C161 #6193C2 #9061C2
monochromatic
#7A792F #A6A540 #C2C161 #D3D28D #E4E4B9

Accessibility & contrast

On white

1.89
#C2C161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#C2C161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C161
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C161#FFFFFF#000000##000000
##C2C1611.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA58
Deuteranopia (green-blind)
#D0BE66
Tritanopia (blue-blind)
#CEB7AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c161;
/* rgb */ color: rgb(194, 193, 97);
/* oklch */ color: oklch(79.2% 0.119 108.3);
Tailwind
colors: {
  custom: {
    50: '#d6d390',
    500: '#c2c161',
    950: '#000000',
  },
}
SCSS
$custom: #c2c161;
$custom-light: #d6d390;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c161",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 59.381,
    "s": 44.292,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79173,
    "c": 0.11926,
    "h": 108.3
  },
  "luminance": 0.50472
}

Semantic roles & 50–950 ramp

primary
#C2C161
secondary
#454582
accent
#55D454
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2C161

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

Preview Lab → · Contrast checker → · Palette generator →

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