#C2C82A#C2C82A

#C2C82A is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.2% C 0.167 H 111.9°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#C2C82A
RGBrgb(194, 200, 42)
HSLhsl(62, 65%, 47%)
HSVhsv(62, 79%, 78%)
CMYKcmyk(3%, 0%, 79%, 21.6%)
CIE-LABlab(77.84, -19.70, 71.18)
CIE-LCHlch(77.84, 73.86, 105.47°)
OKLaboklab(80.23% -0.0622 0.1546)
OKLCHoklch(80.23% 0.167 111.9)
XYZxyz(43.3218, 52.9462, 10.1276)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C82A #302AC8
analogous
#C87F2A #C2C82A #73C82A
triadic
#C2C82A #2AC2C8 #C82AC2
tetradic
#C2C82A #2AC87F #302AC8 #C82A73
square
#C2C82A #2AC87F #302AC8 #C82A73
split-complementary
#C2C82A #2A73C8 #7F2AC8
monochromatic
#606315 #91951F #C2C82A #D6DB54 #E2E687

Accessibility & contrast

On white

1.81
#C2C82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#C2C82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C82A
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C82A#FFFFFF#000000##000000
##C2C82A1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D8C239
Tritanopia (blue-blind)
#D0BBAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c82a;
/* rgb */ color: rgb(194, 200, 42);
/* oklch */ color: oklch(80.2% 0.167 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d872',
    500: '#c2c82a',
    950: '#000000',
  },
}
SCSS
$custom: #c2c82a;
$custom-light: #d8d872;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c82a",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 42
  },
  "hsl": {
    "h": 62.278,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.80225,
    "c": 0.16661,
    "h": 111.9
  },
  "luminance": 0.52945
}

Semantic roles & 50–950 ramp

primary
#C2C82A
secondary
#2B296D
accent
#40E846
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C82A

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

Preview Lab → · Contrast checker → · Palette generator →

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