#C2CC42#C2CC42

#C2CC42 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.2% C 0.157 H 113.4°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#C2CC42
RGBrgb(194, 204, 66)
HSLhsl(64, 58%, 53%)
HSVhsv(64, 68%, 80%)
CMYKcmyk(4.9%, 0%, 67.6%, 20%)
CIE-LABlab(79.07, -20.59, 64.39)
CIE-LCHlch(79.07, 67.60, 107.73°)
OKLaboklab(81.25% -0.0625 0.1443)
OKLCHoklch(81.25% 0.157 113.4)
XYZxyz(44.8256, 55.0493, 13.4174)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC42 #4C42CC
analogous
#CC9142 #C2CC42 #7DCC42
triadic
#C2CC42 #42C2CC #CC42C2
tetradic
#C2CC42 #42CC91 #4C42CC #CC427D
square
#C2CC42 #42CC91 #4C42CC #CC427D
split-complementary
#C2CC42 #427DCC #9142CC
monochromatic
#6E741F #9CA42C #C2CC42 #D2D972 #E1E6A2

Accessibility & contrast

On white

1.75
#C2CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#C2CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC42
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC42#FFFFFF#000000##000000
##C2CC421.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22D
Deuteranopia (green-blind)
#DBC54C
Tritanopia (blue-blind)
#CFC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc42;
/* rgb */ color: rgb(194, 204, 66);
/* oklch */ color: oklch(81.2% 0.157 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db7e',
    500: '#c2cc42',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc42;
$custom-light: #d8db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc42",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 64.348,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81249,
    "c": 0.15729,
    "h": 113.4
  },
  "luminance": 0.55048
}

Semantic roles & 50–950 ramp

primary
#C2CC42
secondary
#3A357D
accent
#47E152
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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