#C2C950#C2C950

#C2C950 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.144 H 112.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C2C950
RGBrgb(194, 201, 80)
HSLhsl(63, 53%, 55%)
HSVhsv(63, 60%, 79%)
CMYKcmyk(3.5%, 0%, 60.2%, 21.2%)
CIE-LABlab(78.36, -18.22, 57.97)
CIE-LCHlch(78.36, 60.77, 107.45°)
OKLaboklab(80.71% -0.0545 0.1328)
OKLCHoklch(80.71% 0.144 112.3)
XYZxyz(44.5839, 53.8227, 15.6281)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C950 #5750C9
analogous
#C99350 #C2C950 #86C950
triadic
#C2C950 #50C2C9 #C950C2
tetradic
#C2C950 #50C993 #5750C9 #C95086
square
#C2C950 #50C993 #5750C9 #C95086
split-complementary
#C2C950 #5086C9 #9350C9
monochromatic
#747925 #A1A834 #C2C950 #D2D77F #E3E6AE

Accessibility & contrast

On white

1.79
#C2C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C2C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C950
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C950#FFFFFF#000000##000000
##C2C9501.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#CEBEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2c950;
/* rgb */ color: rgb(194, 201, 80);
/* oklch */ color: oklch(80.7% 0.144 112.3);
Tailwind
colors: {
  custom: {
    50: '#d7d986',
    500: '#c2c950',
    950: '#000000',
  },
}
SCSS
$custom: #c2c950;
$custom-light: #d7d986;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c950",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 63.471,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80714,
    "c": 0.14357,
    "h": 112.3
  },
  "luminance": 0.53822
}

Semantic roles & 50–950 ramp

primary
#C2C950
secondary
#403C82
accent
#4CDC54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C950

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

Preview Lab → · Contrast checker → · Palette generator →

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