#C2AC2A#C2AC2A

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

Color values

HEX#C2AC2A
RGBrgb(194, 172, 42)
HSLhsl(51, 64%, 46%)
HSVhsv(51, 78%, 76%)
CMYKcmyk(0%, 11.3%, 78.4%, 23.9%)
CIE-LABlab(70.28, -5.42, 64.43)
CIE-LCHlch(70.28, 64.66, 94.81°)
OKLaboklab(74.19% -0.0222 0.1401)
OKLCHoklch(74.19% 0.142 99)
XYZxyz(37.4205, 41.1435, 8.1605)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC2A #2A40C2
analogous
#C2602A #C2AC2A #8CC22A
triadic
#C2AC2A #2AC2AC #AC2AC2
tetradic
#C2AC2A #2AC260 #2A40C2 #C22A8C
square
#C2AC2A #2AC260 #2A40C2 #C22A8C
split-complementary
#C2AC2A #2A8CC2 #602AC2
monochromatic
#5D5314 #907F1F #C2AC2A #D9C550 #E4D682

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AC2A#FFFFFF#000000##000000
##C2AC2A1.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)
#BDA708
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#D29F94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac2a;
/* rgb */ color: rgb(194, 172, 42);
/* oklch */ color: oklch(74.2% 0.142 99.0);
Tailwind
colors: {
  custom: {
    50: '#d9c46f',
    500: '#c2ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac2a;
$custom-light: #d9c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac2a",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 51.316,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74194,
    "c": 0.14185,
    "h": 99
  },
  "luminance": 0.41142
}

Semantic roles & 50–950 ramp

primary
#C2AC2A
secondary
#7B87CD
accent
#59E740
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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