#C2AC2E#C2AC2E

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

Color values

HEX#C2AC2E
RGBrgb(194, 172, 46)
HSLhsl(51, 62%, 47%)
HSVhsv(51, 76%, 76%)
CMYKcmyk(0%, 11.3%, 76.3%, 23.9%)
CIE-LABlab(70.30, -5.27, 63.12)
CIE-LCHlch(70.30, 63.34, 94.77°)
OKLaboklab(74.22% -0.0214 0.1381)
OKLCHoklch(74.22% 0.14 98.8)
XYZxyz(37.4957, 41.1735, 8.5565)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC2E #2E44C2
analogous
#C2622E #C2AC2E #8EC22E
triadic
#C2AC2E #2EC2AC #AC2EC2
tetradic
#C2AC2E #2EC262 #2E44C2 #C22E8E
square
#C2AC2E #2EC262 #2E44C2 #C22E8E
split-complementary
#C2AC2E #2E8EC2 #622EC2
monochromatic
#5F5417 #918022 #C2AC2E #D7C456 #E3D588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AC2E#FFFFFF#000000##000000
##C2AC2E1.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)
#BDA714
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#D19F94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac2e;
/* rgb */ color: rgb(194, 172, 46);
/* oklch */ color: oklch(74.2% 0.140 98.8);
Tailwind
colors: {
  custom: {
    50: '#d9c471',
    500: '#c2ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac2e;
$custom-light: #d9c471;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac2e",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 51.081,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74218,
    "c": 0.13975,
    "h": 98.8
  },
  "luminance": 0.41172
}

Semantic roles & 50–950 ramp

primary
#C2AC2E
secondary
#7F8BCC
accent
#5BE543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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