#C2C166#C2C166

#C2C166 is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.2% C 0.114 H 108.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#C2C166
RGBrgb(194, 193, 102)
HSLhsl(59, 43%, 58%)
HSVhsv(59, 47%, 76%)
CMYKcmyk(0%, 0.5%, 47.4%, 23.9%)
CIE-LABlab(76.42, -12.39, 45.60)
CIE-LCHlch(76.42, 47.26, 105.20°)
OKLaboklab(79.24% -0.0356 0.1085)
OKLCHoklch(79.24% 0.114 108.2)
XYZxyz(43.7173, 50.5696, 20.0258)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C166 #6667C2
analogous
#C29366 #C2C166 #95C266
triadic
#C2C166 #66C2C1 #C166C2
tetradic
#C2C166 #66C293 #6667C2 #C26695
square
#C2C166 #66C293 #6667C2 #C26695
split-complementary
#C2C166 #6695C2 #9366C2
monochromatic
#7C7B31 #A8A743 #C2C166 #D3D392 #E5E4BE

Accessibility & contrast

On white

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

On black

11.11
#C2C166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C166
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C166#FFFFFF#000000##000000
##C2C1661.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB5E
Deuteranopia (green-blind)
#CFBE6A
Tritanopia (blue-blind)
#CDB7AC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c166;
/* rgb */ color: rgb(194, 193, 102);
/* oklch */ color: oklch(79.2% 0.114 108.2);
Tailwind
colors: {
  custom: {
    50: '#d6d394',
    500: '#c2c166',
    950: '#000000',
  },
}
SCSS
$custom: #c2c166;
$custom-light: #d6d394;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c166",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 59.348,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79239,
    "c": 0.11421,
    "h": 108.2
  },
  "luminance": 0.50569
}

Semantic roles & 50–950 ramp

primary
#C2C166
secondary
#474885
accent
#56D355
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2C166

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

Preview Lab → · Contrast checker → · Palette generator →

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