#C2C342#C2C342

#C2C342 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.3% C 0.148 H 109.8°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#C2C342
RGBrgb(194, 195, 66)
HSLhsl(60, 52%, 51%)
HSVhsv(60, 66%, 76%)
CMYKcmyk(0.5%, 0%, 66.2%, 23.5%)
CIE-LABlab(76.61, -16.12, 61.90)
CIE-LCHlch(76.61, 63.96, 104.59°)
OKLaboklab(79.29% -0.05 0.1391)
OKLCHoklch(79.29% 0.148 109.8)
XYZxyz(42.7480, 50.8941, 12.7249)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C342 #4342C3
analogous
#C38342 #C2C342 #81C342
triadic
#C2C342 #42C2C3 #C342C2
tetradic
#C2C342 #42C383 #4342C3 #C34281
square
#C2C342 #42C383 #4342C3 #C34281
split-complementary
#C2C342 #4281C3 #8342C3
monochromatic
#696921 #979830 #C2C342 #D1D270 #E0E09F

Accessibility & contrast

On white

1.88
#C2C342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#C2C342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C342
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C342#FFFFFF#000000##000000
##C2C3421.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#CFB7A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c342;
/* rgb */ color: rgb(194, 195, 66);
/* oklch */ color: oklch(79.3% 0.148 109.8);
Tailwind
colors: {
  custom: {
    50: '#d8d47d',
    500: '#c2c342',
    950: '#000000',
  },
}
SCSS
$custom: #c2c342;
$custom-light: #d8d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c342",
  "rgb": {
    "r": 194,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 60.465,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79286,
    "c": 0.1478,
    "h": 109.8
  },
  "luminance": 0.50893
}

Semantic roles & 50–950 ramp

primary
#C2C342
secondary
#363673
accent
#4DDB4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C342

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

Preview Lab → · Contrast checker → · Palette generator →

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