#C2C642#C2C642

#C2C642 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.9% C 0.151 H 111.1°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#C2C642
RGBrgb(194, 198, 66)
HSLhsl(62, 54%, 52%)
HSVhsv(62, 67%, 78%)
CMYKcmyk(2%, 0%, 66.7%, 22.4%)
CIE-LABlab(77.43, -17.62, 62.73)
CIE-LCHlch(77.43, 65.16, 105.69°)
OKLaboklab(79.94% -0.0542 0.1408)
OKLCHoklch(79.94% 0.151 111.1)
XYZxyz(43.4269, 52.2519, 12.9512)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C642 #4642C6
analogous
#C68842 #C2C642 #80C642
triadic
#C2C642 #42C2C6 #C642C2
tetradic
#C2C642 #42C688 #4642C6 #C64280
square
#C2C642 #42C688 #4642C6 #C64280
split-complementary
#C2C642 #4280C6 #8842C6
monochromatic
#6A6D21 #999C2F #C2C642 #D1D471 #E0E2A0

Accessibility & contrast

On white

1.83
#C2C642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#C2C642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C642
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C642#FFFFFF#000000##000000
##C2C6421.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2F
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#CFBAAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c642;
/* rgb */ color: rgb(194, 198, 66);
/* oklch */ color: oklch(79.9% 0.151 111.1);
Tailwind
colors: {
  custom: {
    50: '#d8d77e',
    500: '#c2c642',
    950: '#000000',
  },
}
SCSS
$custom: #c2c642;
$custom-light: #d8d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c642",
  "rgb": {
    "r": 194,
    "g": 198,
    "b": 66
  },
  "hsl": {
    "h": 61.818,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79938,
    "c": 0.15091,
    "h": 111.1
  },
  "luminance": 0.52251
}

Semantic roles & 50–950 ramp

primary
#C2C642
secondary
#383676
accent
#4BDD4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C642

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

Preview Lab → · Contrast checker → · Palette generator →

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