#C2C82D#C2C82D

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

Color values

HEX#C2C82D
RGBrgb(194, 200, 45)
HSLhsl(62, 63%, 48%)
HSVhsv(62, 78%, 78%)
CMYKcmyk(3%, 0%, 77.5%, 21.6%)
CIE-LABlab(77.86, -19.60, 70.34)
CIE-LCHlch(77.86, 73.02, 105.57°)
OKLaboklab(80.24% -0.0616 0.1533)
OKLCHoklch(80.24% 0.165 111.9)
XYZxyz(43.3776, 52.9685, 10.4210)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C82D #332DC8
analogous
#C8812D #C2C82D #74C82D
triadic
#C2C82D #2DC2C8 #C82DC2
tetradic
#C2C82D #2DC881 #332DC8 #C82D74
square
#C2C82D #2DC881 #332DC8 #C82D74
split-complementary
#C2C82D #2D74C8 #812DC8
monochromatic
#616417 #929622 #C2C82D #D5DA59 #E1E58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C82D#FFFFFF#000000##000000
##C2C82D1.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)
#D8C23B
Tritanopia (blue-blind)
#D0BBAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c82d;
/* rgb */ color: rgb(194, 200, 45);
/* oklch */ color: oklch(80.2% 0.165 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d874',
    500: '#c2c82d',
    950: '#000000',
  },
}
SCSS
$custom: #c2c82d;
$custom-light: #d8d874;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c82d",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 45
  },
  "hsl": {
    "h": 62.323,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80239,
    "c": 0.16524,
    "h": 111.9
  },
  "luminance": 0.52967
}

Semantic roles & 50–950 ramp

primary
#C2C82D
secondary
#2D2B6F
accent
#41E648
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C82D

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

Preview Lab → · Contrast checker → · Palette generator →

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