#C2AC29#C2AC29

#C2AC29 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.142 H 99.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C2AC29
RGBrgb(194, 172, 41)
HSLhsl(51, 65%, 46%)
HSVhsv(51, 79%, 76%)
CMYKcmyk(0%, 11.3%, 78.9%, 23.9%)
CIE-LABlab(70.27, -5.46, 64.74)
CIE-LCHlch(70.27, 64.97, 94.82°)
OKLaboklab(74.19% -0.0224 0.1406)
OKLCHoklch(74.19% 0.142 99.1)
XYZxyz(37.4028, 41.1364, 8.0674)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC29 #293FC2
analogous
#C26029 #C2AC29 #8BC229
triadic
#C2AC29 #29C2AC #AC29C2
tetradic
#C2AC29 #29C260 #293FC2 #C2298B
square
#C2AC29 #29C260 #293FC2 #C2298B
split-complementary
#C2AC29 #298BC2 #6029C2
monochromatic
#5D5214 #8F7F1E #C2AC29 #DAC64E #E4D681

Accessibility & contrast

On white

2.28
#C2AC29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C2AC29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC29
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC29#FFFFFF#000000##000000
##C2AC291.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA705
Deuteranopia (green-blind)
#C3AF33
Tritanopia (blue-blind)
#D29F94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac29;
/* rgb */ color: rgb(194, 172, 41);
/* oklch */ color: oklch(74.2% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#d9c46e',
    500: '#c2ac29',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac29;
$custom-light: #d9c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac29",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 41
  },
  "hsl": {
    "h": 51.373,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74189,
    "c": 0.14236,
    "h": 99.1
  },
  "luminance": 0.41134
}

Semantic roles & 50–950 ramp

primary
#C2AC29
secondary
#7A86CD
accent
#58E840
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AC29

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

Preview Lab → · Contrast checker → · Palette generator →

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