#C2C960#C2C960

#C2C960 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.129 H 112.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#C2C960
RGBrgb(194, 201, 96)
HSLhsl(64, 49%, 58%)
HSVhsv(64, 52%, 79%)
CMYKcmyk(3.5%, 0%, 52.2%, 21.2%)
CIE-LABlab(78.51, -16.97, 50.96)
CIE-LCHlch(78.51, 53.71, 108.42°)
OKLaboklab(80.89% -0.0493 0.1197)
OKLCHoklch(80.89% 0.129 112.4)
XYZxyz(45.2470, 54.0880, 19.1205)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C960 #6760C9
analogous
#C99B60 #C2C960 #8DC960
triadic
#C2C960 #60C2C9 #C960C2
tetradic
#C2C960 #60C99B #6760C9 #C9608D
square
#C2C960 #60C99B #6760C9 #C9608D
split-complementary
#C2C960 #608DC9 #9B60C9
monochromatic
#7D822C #A8B03C #C2C960 #D4D98E #E5E8BB

Accessibility & contrast

On white

1.78
#C2C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#C2C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C960
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C960#FFFFFF#000000##000000
##C2C9601.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C156
Deuteranopia (green-blind)
#D6C466
Tritanopia (blue-blind)
#CDBFB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2c960;
/* rgb */ color: rgb(194, 201, 96);
/* oklch */ color: oklch(80.9% 0.129 112.4);
Tailwind
colors: {
  custom: {
    50: '#d6d990',
    500: '#c2c960',
    950: '#000000',
  },
}
SCSS
$custom: #c2c960;
$custom-light: #d6d990;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c960",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 64,
    "s": 49.296,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80888,
    "c": 0.1294,
    "h": 112.4
  },
  "luminance": 0.54087
}

Semantic roles & 50–950 ramp

primary
#C2C960
secondary
#48438A
accent
#4FD958
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2C960

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

Preview Lab → · Contrast checker → · Palette generator →

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