#C2AC3A#C2AC3A

#C2AC3A is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.3% C 0.132 H 98.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#C2AC3A
RGBrgb(194, 172, 58)
HSLhsl(50, 54%, 49%)
HSVhsv(50, 70%, 76%)
CMYKcmyk(0%, 11.3%, 70.1%, 23.9%)
CIE-LABlab(70.37, -4.71, 58.74)
CIE-LCHlch(70.37, 58.93, 94.59°)
OKLaboklab(74.3% -0.0186 0.1311)
OKLCHoklch(74.3% 0.132 98.1)
XYZxyz(37.7662, 41.2817, 9.9811)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC3A #3A50C2
analogous
#C2683A #C2AC3A #94C23A
triadic
#C2AC3A #3AC2AC #AC3AC2
tetradic
#C2AC3A #3AC268 #3A50C2 #C23A94
square
#C2AC3A #3AC268 #3A50C2 #C23A94
split-complementary
#C2AC3A #3A94C2 #683AC2
monochromatic
#64581E #93822C #C2AC3A #D2C167 #E0D497

Accessibility & contrast

On white

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

On black

9.26
#C2AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC3A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC3A#FFFFFF#000000##000000
##C2AC3A1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#C3AF41
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac3a;
/* rgb */ color: rgb(194, 172, 58);
/* oklch */ color: oklch(74.3% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#d8c477',
    500: '#c2ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac3a;
$custom-light: #d8c477;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac3a",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 50.294,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74302,
    "c": 0.13238,
    "h": 98.1
  },
  "luminance": 0.4128
}

Semantic roles & 50–950 ramp

primary
#C2AC3A
secondary
#8D97CB
accent
#62DD4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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