#C2AC2C#C2AC2C

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

Color values

HEX#C2AC2C
RGBrgb(194, 172, 44)
HSLhsl(51, 63%, 47%)
HSVhsv(51, 77%, 76%)
CMYKcmyk(0%, 11.3%, 77.3%, 23.9%)
CIE-LABlab(70.29, -5.34, 63.79)
CIE-LCHlch(70.29, 64.01, 94.79°)
OKLaboklab(74.21% -0.0218 0.1391)
OKLCHoklch(74.21% 0.141 98.9)
XYZxyz(37.4572, 41.1581, 8.3537)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC2C #2C42C2
analogous
#C2612C #C2AC2C #8DC22C
triadic
#C2AC2C #2CC2AC #AC2CC2
tetradic
#C2AC2C #2CC261 #2C42C2 #C22C8D
square
#C2AC2C #2CC261 #2C42C2 #C22C8D
split-complementary
#C2AC2C #2C8DC2 #612CC2
monochromatic
#5E5415 #908021 #C2AC2C #D8C553 #E3D685

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AC2C#FFFFFF#000000##000000
##C2AC2C1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ac2c;
/* rgb */ color: rgb(194, 172, 44);
/* oklch */ color: oklch(74.2% 0.141 98.9);
Tailwind
colors: {
  custom: {
    50: '#d9c470',
    500: '#c2ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac2c;
$custom-light: #d9c470;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac2c",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 51.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74206,
    "c": 0.14082,
    "h": 98.9
  },
  "luminance": 0.41156
}

Semantic roles & 50–950 ramp

primary
#C2AC2C
secondary
#7D89CD
accent
#5AE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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