#C2C02B#C2C02B

#C2C02B is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.5% C 0.158 H 108.7°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#C2C02B
RGBrgb(194, 192, 43)
HSLhsl(59, 64%, 46%)
HSVhsv(59, 78%, 76%)
CMYKcmyk(0%, 1%, 77.8%, 23.9%)
CIE-LABlab(75.67, -15.68, 68.96)
CIE-LCHlch(75.67, 70.72, 102.81°)
OKLaboklab(78.48% -0.0509 0.15)
OKLCHoklch(78.48% 0.158 108.7)
XYZxyz(41.5354, 49.3444, 9.6215)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C02B #2B2DC2
analogous
#C2752B #C2C02B #79C22B
triadic
#C2C02B #2BC2C0 #C02BC2
tetradic
#C2C02B #2BC275 #2B2DC2 #C22B79
square
#C2C02B #2BC275 #2B2DC2 #C22B79
split-complementary
#C2C02B #2B79C2 #752BC2
monochromatic
#5E5D15 #908E20 #C2C02B #D9D752 #E4E284

Accessibility & contrast

On white

1.93
#C2C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#C2C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C02B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C02B#FFFFFF#000000##000000
##C2C02B1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D2BD38
Tritanopia (blue-blind)
#D0B3A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2c02b;
/* rgb */ color: rgb(194, 192, 43);
/* oklch */ color: oklch(78.5% 0.158 108.7);
Tailwind
colors: {
  custom: {
    50: '#d8d272',
    500: '#c2c02b',
    950: '#000000',
  },
}
SCSS
$custom: #c2c02b;
$custom-light: #d8d272;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c02b",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 59.205,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78484,
    "c": 0.15841,
    "h": 108.7
  },
  "luminance": 0.49343
}

Semantic roles & 50–950 ramp

primary
#C2C02B
secondary
#7C7DCD
accent
#43E741
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C2C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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