#C2C931#C2C931

#C2C931 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.5% C 0.164 H 112.3°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C2C931
RGBrgb(194, 201, 49)
HSLhsl(63, 61%, 49%)
HSVhsv(63, 76%, 79%)
CMYKcmyk(3.5%, 0%, 75.6%, 21.2%)
CIE-LABlab(78.15, -19.93, 69.39)
CIE-LCHlch(78.15, 72.20, 106.03°)
OKLaboklab(80.48% -0.0622 0.152)
OKLCHoklch(80.48% 0.164 112.3)
XYZxyz(43.6906, 53.4654, 10.9235)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C931 #3831C9
analogous
#C98431 #C2C931 #76C931
triadic
#C2C931 #31C2C9 #C931C2
tetradic
#C2C931 #31C984 #3831C9 #C93176
square
#C2C931 #31C984 #3831C9 #C93176
split-complementary
#C2C931 #3176C9 #8431C9
monochromatic
#636719 #939825 #C2C931 #D2D85F #E0E490

Accessibility & contrast

On white

1.80
#C2C931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#C2C931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C931
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C931#FFFFFF#000000##000000
##C2C9311.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C007
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#CFBDAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c931;
/* rgb */ color: rgb(194, 201, 49);
/* oklch */ color: oklch(80.5% 0.164 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d975',
    500: '#c2c931',
    950: '#000000',
  },
}
SCSS
$custom: #c2c931;
$custom-light: #d8d975;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c931",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 62.763,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.8048,
    "c": 0.16426,
    "h": 112.3
  },
  "luminance": 0.53464
}

Semantic roles & 50–950 ramp

primary
#C2C931
secondary
#312D71
accent
#44E44B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C931

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

Preview Lab → · Contrast checker → · Palette generator →

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