#C2CD29#C2CD29

#C2CD29 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.3% C 0.172 H 113.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C2CD29
RGBrgb(194, 205, 41)
HSLhsl(64, 67%, 48%)
HSVhsv(64, 80%, 80%)
CMYKcmyk(5.4%, 0%, 80%, 19.6%)
CIE-LABlab(79.21, -22.19, 72.65)
CIE-LCHlch(79.21, 75.97, 106.99°)
OKLaboklab(81.32% -0.0691 0.1576)
OKLCHoklch(81.32% 0.172 113.7)
XYZxyz(44.4811, 55.2930, 10.4268)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD29 #3429CD
analogous
#CD8629 #C2CD29 #70CD29
triadic
#C2CD29 #29C2CD #CD29C2
tetradic
#C2CD29 #29CD86 #3429CD #CD2970
square
#C2CD29 #29CD86 #3429CD #CD2970
split-complementary
#C2CD29 #2970CD #8629CD
monochromatic
#616715 #929A1F #C2CD29 #D4DD56 #E1E789

Accessibility & contrast

On white

1.74
#C2CD29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#C2CD29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD29
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD29#FFFFFF#000000##000000
##C2CD291.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DCC639
Tritanopia (blue-blind)
#CFC0AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd29;
/* rgb */ color: rgb(194, 205, 41);
/* oklch */ color: oklch(81.3% 0.172 113.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc73',
    500: '#c2cd29',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd29;
$custom-light: #d9dc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd29",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 41
  },
  "hsl": {
    "h": 64.024,
    "s": 66.667,
    "l": 48.235
  },
  "oklch": {
    "l": 0.81318,
    "c": 0.17206,
    "h": 113.7
  },
  "luminance": 0.55292
}

Semantic roles & 50–950 ramp

primary
#C2CD29
secondary
#2E2971
accent
#3EEA4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2CD29

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

Preview Lab → · Contrast checker → · Palette generator →

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