#C2C82E#C2C82E

#C2C82E 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.60:1 contrast (WCAG AA passes).

Color values

HEX#C2C82E
RGBrgb(194, 200, 46)
HSLhsl(62, 63%, 48%)
HSVhsv(62, 77%, 78%)
CMYKcmyk(3%, 0%, 77%, 21.6%)
CIE-LABlab(77.86, -19.56, 70.05)
CIE-LCHlch(77.86, 72.73, 105.60°)
OKLaboklab(80.25% -0.0614 0.1529)
OKLCHoklch(80.25% 0.165 111.9)
XYZxyz(43.3970, 52.9762, 10.5236)
Luminance0.5298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C82E #342EC8
analogous
#C8812E #C2C82E #75C82E
triadic
#C2C82E #2EC2C8 #C82EC2
tetradic
#C2C82E #2EC881 #342EC8 #C82E75
square
#C2C82E #2EC881 #342EC8 #C82E75
split-complementary
#C2C82E #2E75C8 #812EC8
monochromatic
#616417 #929623 #C2C82E #D4D95A #E1E58C

Accessibility & contrast

On white

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

On black

11.60
#C2C82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C82E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C82E#FFFFFF#000000##000000
##C2C82E1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c82e;
/* rgb */ color: rgb(194, 200, 46);
/* oklch */ color: oklch(80.2% 0.165 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d874',
    500: '#c2c82e',
    950: '#000000',
  },
}
SCSS
$custom: #c2c82e;
$custom-light: #d8d874;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c82e",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 62.338,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80245,
    "c": 0.16475,
    "h": 111.9
  },
  "luminance": 0.52975
}

Semantic roles & 50–950 ramp

primary
#C2C82E
secondary
#2E2B6F
accent
#42E649
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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