#C2AC37#C2AC37

#C2AC37 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.134 H 98.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#C2AC37
RGBrgb(194, 172, 55)
HSLhsl(51, 56%, 49%)
HSVhsv(51, 72%, 76%)
CMYKcmyk(0%, 11.3%, 71.6%, 23.9%)
CIE-LABlab(70.35, -4.86, 59.90)
CIE-LCHlch(70.35, 60.09, 94.64°)
OKLaboklab(74.28% -0.0194 0.133)
OKLCHoklch(74.28% 0.134 98.3)
XYZxyz(37.6921, 41.2521, 9.5908)
Luminance0.4125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC37 #374DC2
analogous
#C26737 #C2AC37 #93C237
triadic
#C2AC37 #37C2AC #AC37C2
tetradic
#C2AC37 #37C267 #374DC2 #C23793
square
#C2AC37 #37C267 #374DC2 #C23793
split-complementary
#C2AC37 #3793C2 #6737C2
monochromatic
#63571C #928229 #C2AC37 #D3C163 #E0D493

Accessibility & contrast

On white

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

On black

9.25
#C2AC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC37
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC37#FFFFFF#000000##000000
##C2AC371.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ac37;
/* rgb */ color: rgb(194, 172, 55);
/* oklch */ color: oklch(74.3% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#d8c475',
    500: '#c2ac37',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac37;
$custom-light: #d8c475;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac37",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 50.504,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74279,
    "c": 0.13437,
    "h": 98.3
  },
  "luminance": 0.4125
}

Semantic roles & 50–950 ramp

primary
#C2AC37
secondary
#8994CB
accent
#60DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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