#C2C042#C2C042

#C2C042 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.6% C 0.145 H 108.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C2C042
RGBrgb(194, 192, 66)
HSLhsl(59, 51%, 51%)
HSVhsv(59, 66%, 76%)
CMYKcmyk(0%, 1%, 66%, 23.9%)
CIE-LABlab(75.80, -14.60, 61.07)
CIE-LCHlch(75.80, 62.79, 103.45°)
OKLaboklab(78.64% -0.0457 0.1373)
OKLCHoklch(78.64% 0.145 108.4)
XYZxyz(42.0826, 49.5632, 12.5031)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C042 #4244C2
analogous
#C28042 #C2C042 #84C242
triadic
#C2C042 #42C2C0 #C042C2
tetradic
#C2C042 #42C280 #4244C2 #C24284
square
#C2C042 #42C280 #4244C2 #C24284
split-complementary
#C2C042 #4284C2 #8042C2
monochromatic
#686722 #969531 #C2C042 #D1CF70 #E0DF9F

Accessibility & contrast

On white

1.92
#C2C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#C2C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C042
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C042#FFFFFF#000000##000000
##C2C0421.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#CFB4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c042;
/* rgb */ color: rgb(194, 192, 66);
/* oklch */ color: oklch(78.6% 0.145 108.4);
Tailwind
colors: {
  custom: {
    50: '#d8d27d',
    500: '#c2c042',
    950: '#000000',
  },
}
SCSS
$custom: #c2c042;
$custom-light: #d8d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c042",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 59.063,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78636,
    "c": 0.14474,
    "h": 108.4
  },
  "luminance": 0.49562
}

Semantic roles & 50–950 ramp

primary
#C2C042
secondary
#9494CC
accent
#4FDB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C2C042

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

Preview Lab → · Contrast checker → · Palette generator →

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