#C2C82F#C2C82F

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

Color values

HEX#C2C82F
RGBrgb(194, 200, 47)
HSLhsl(62, 62%, 48%)
HSVhsv(62, 77%, 78%)
CMYKcmyk(3%, 0%, 76.5%, 21.6%)
CIE-LABlab(77.87, -19.52, 69.75)
CIE-LCHlch(77.87, 72.43, 105.63°)
OKLaboklab(80.25% -0.0613 0.1524)
OKLCHoklch(80.25% 0.164 111.9)
XYZxyz(43.4170, 52.9842, 10.6287)
Luminance0.5298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C82F #352FC8
analogous
#C8812F #C2C82F #75C82F
triadic
#C2C82F #2FC2C8 #C82FC2
tetradic
#C2C82F #2FC881 #352FC8 #C82F75
square
#C2C82F #2FC881 #352FC8 #C82F75
split-complementary
#C2C82F #2F75C8 #812FC8
monochromatic
#626518 #929623 #C2C82F #D4D95C #E1E48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C82F#FFFFFF#000000##000000
##C2C82F1.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)
#D8C23D
Tritanopia (blue-blind)
#D0BBAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c82f;
/* rgb */ color: rgb(194, 200, 47);
/* oklch */ color: oklch(80.3% 0.164 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d874',
    500: '#c2c82f',
    950: '#000000',
  },
}
SCSS
$custom: #c2c82f;
$custom-light: #d8d874;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c82f",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 62.353,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.8025,
    "c": 0.16426,
    "h": 111.9
  },
  "luminance": 0.52983
}

Semantic roles & 50–950 ramp

primary
#C2C82F
secondary
#2F2C6F
accent
#43E549
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C82F

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

Preview Lab → · Contrast checker → · Palette generator →

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