#C2C631#C2C631

#C2C631 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.8% C 0.161 H 111.1°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#C2C631
RGBrgb(194, 198, 49)
HSLhsl(62, 60%, 48%)
HSVhsv(62, 75%, 78%)
CMYKcmyk(2%, 0%, 75.3%, 22.4%)
CIE-LABlab(77.33, -18.45, 68.64)
CIE-LCHlch(77.33, 71.08, 105.04°)
OKLaboklab(79.82% -0.0581 0.1504)
OKLCHoklch(79.82% 0.161 111.1)
XYZxyz(42.9981, 52.0804, 10.6926)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C631 #3531C6
analogous
#C67F31 #C2C631 #77C631
triadic
#C2C631 #31C2C6 #C631C2
tetradic
#C2C631 #31C67F #3531C6 #C63177
square
#C2C631 #31C67F #3531C6 #C63177
split-complementary
#C2C631 #3177C6 #7F31C6
monochromatic
#626419 #929525 #C2C631 #D4D75D #E1E38E

Accessibility & contrast

On white

1.84
#C2C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#C2C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C631
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C631#FFFFFF#000000##000000
##C2C6311.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD0A
Deuteranopia (green-blind)
#D7C13E
Tritanopia (blue-blind)
#D0B9AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c631;
/* rgb */ color: rgb(194, 198, 49);
/* oklch */ color: oklch(79.8% 0.161 111.1);
Tailwind
colors: {
  custom: {
    50: '#d8d775',
    500: '#c2c631',
    950: '#000000',
  },
}
SCSS
$custom: #c2c631;
$custom-light: #d8d775;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c631",
  "rgb": {
    "r": 194,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 61.611,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79823,
    "c": 0.16125,
    "h": 111.1
  },
  "luminance": 0.52079
}

Semantic roles & 50–950 ramp

primary
#C2C631
secondary
#2F2D6E
accent
#44E349
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C631

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

Preview Lab → · Contrast checker → · Palette generator →

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