#C2AC42#C2AC42

#C2AC42 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.127 H 97.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#C2AC42
RGBrgb(194, 172, 66)
HSLhsl(50, 51%, 51%)
HSVhsv(50, 66%, 76%)
CMYKcmyk(0%, 11.3%, 66%, 23.9%)
CIE-LABlab(70.43, -4.26, 55.49)
CIE-LCHlch(70.43, 55.65, 94.39°)
OKLaboklab(74.37% -0.0164 0.1256)
OKLCHoklch(74.37% 0.127 97.4)
XYZxyz(37.9857, 41.3696, 11.1375)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC42 #4258C2
analogous
#C26C42 #C2AC42 #98C242
triadic
#C2AC42 #42C2AC #AC42C2
tetradic
#C2AC42 #42C26C #4258C2 #C24298
square
#C2AC42 #42C26C #4258C2 #C24298
split-complementary
#C2AC42 #4298C2 #6C42C2
monochromatic
#685C22 #968531 #C2AC42 #D1C070 #E0D59F

Accessibility & contrast

On white

2.26
#C2AC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#C2AC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC42
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC42#FFFFFF#000000##000000
##C2AC421.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#C2AF48
Tritanopia (blue-blind)
#D1A096
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac42;
/* rgb */ color: rgb(194, 172, 66);
/* oklch */ color: oklch(74.4% 0.127 97.4);
Tailwind
colors: {
  custom: {
    50: '#d8c47b',
    500: '#c2ac42',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac42;
$custom-light: #d8c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac42",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 49.688,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7437,
    "c": 0.12662,
    "h": 97.4
  },
  "luminance": 0.41368
}

Semantic roles & 50–950 ramp

primary
#C2AC42
secondary
#949DCC
accent
#65DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AC42

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

Preview Lab → · Contrast checker → · Palette generator →

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