#C2C129#C2C129

#C2C129 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.7% C 0.160 H 109.2°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#C2C129
RGBrgb(194, 193, 41)
HSLhsl(60, 65%, 46%)
HSVhsv(60, 79%, 76%)
CMYKcmyk(0%, 0.5%, 78.9%, 23.9%)
CIE-LABlab(75.93, -16.25, 69.77)
CIE-LCHlch(75.93, 71.64, 103.11°)
OKLaboklab(78.69% -0.0527 0.1514)
OKLCHoklch(78.69% 0.16 109.2)
XYZxyz(41.7200, 49.7707, 9.5064)
Luminance0.4977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C129 #292AC2
analogous
#C27429 #C2C129 #76C229
triadic
#C2C129 #29C2C1 #C129C2
tetradic
#C2C129 #29C274 #292AC2 #C22976
square
#C2C129 #29C274 #292AC2 #C22976
split-complementary
#C2C129 #2976C2 #7429C2
monochromatic
#5D5C14 #8F8F1E #C2C129 #DAD94E #E4E481

Accessibility & contrast

On white

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

On black

10.95
#C2C129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C129
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C129#FFFFFF#000000##000000
##C2C1291.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D3BD37
Tritanopia (blue-blind)
#D0B4A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c129;
/* rgb */ color: rgb(194, 193, 41);
/* oklch */ color: oklch(78.7% 0.160 109.2);
Tailwind
colors: {
  custom: {
    50: '#d9d371',
    500: '#c2c129',
    950: '#000000',
  },
}
SCSS
$custom: #c2c129;
$custom-light: #d9d371;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c129",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 41
  },
  "hsl": {
    "h": 59.608,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78692,
    "c": 0.16028,
    "h": 109.2
  },
  "luminance": 0.49769
}

Semantic roles & 50–950 ramp

primary
#C2C129
secondary
#7A7ACD
accent
#41E840
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C2C129

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

Preview Lab → · Contrast checker → · Palette generator →

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