#C2AC32#C2AC32

#C2AC32 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.2% C 0.137 H 98.6°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#C2AC32
RGBrgb(194, 172, 50)
HSLhsl(51, 59%, 48%)
HSVhsv(51, 74%, 76%)
CMYKcmyk(0%, 11.3%, 74.2%, 23.9%)
CIE-LABlab(70.32, -5.10, 61.74)
CIE-LCHlch(70.32, 61.95, 94.72°)
OKLaboklab(74.24% -0.0205 0.1359)
OKLCHoklch(74.24% 0.137 98.6)
XYZxyz(37.5782, 41.2066, 8.9913)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC32 #3248C2
analogous
#C26432 #C2AC32 #90C232
triadic
#C2AC32 #32C2AC #AC32C2
tetradic
#C2AC32 #32C264 #3248C2 #C23290
square
#C2AC32 #32C264 #3248C2 #C23290
split-complementary
#C2AC32 #3290C2 #6432C2
monochromatic
#615619 #918125 #C2AC32 #D5C35C #E2D58D

Accessibility & contrast

On white

2.27
#C2AC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#C2AC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC32
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC32#FFFFFF#000000##000000
##C2AC321.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81C
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#D19F94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac32;
/* rgb */ color: rgb(194, 172, 50);
/* oklch */ color: oklch(74.2% 0.137 98.6);
Tailwind
colors: {
  custom: {
    50: '#d8c473',
    500: '#c2ac32',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac32;
$custom-light: #d8c473;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac32",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 50.833,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74243,
    "c": 0.13747,
    "h": 98.6
  },
  "luminance": 0.41205
}

Semantic roles & 50–950 ramp

primary
#C2AC32
secondary
#848FCC
accent
#5EE246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AC32

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

Preview Lab → · Contrast checker → · Palette generator →

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