#C2AF32#C2AF32

#C2AF32 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.140 H 100.3°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#C2AF32
RGBrgb(194, 175, 50)
HSLhsl(52, 59%, 48%)
HSVhsv(52, 74%, 76%)
CMYKcmyk(0%, 9.8%, 74.2%, 23.9%)
CIE-LABlab(71.12, -6.67, 62.50)
CIE-LCHlch(71.12, 62.85, 96.09°)
OKLaboklab(74.88% -0.025 0.1375)
OKLCHoklch(74.88% 0.14 100.3)
XYZxyz(38.1556, 42.3614, 9.1838)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF32 #3245C2
analogous
#C26732 #C2AF32 #8DC232
triadic
#C2AF32 #32C2AF #AF32C2
tetradic
#C2AF32 #32C267 #3245C2 #C2328D
square
#C2AF32 #32C267 #3245C2 #C2328D
split-complementary
#C2AF32 #328DC2 #6732C2
monochromatic
#615719 #918325 #C2AF32 #D5C55C #E2D68D

Accessibility & contrast

On white

2.22
#C2AF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#C2AF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF32
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF32#FFFFFF#000000##000000
##C2AF321.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1B
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af32;
/* rgb */ color: rgb(194, 175, 50);
/* oklch */ color: oklch(74.9% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#d8c673',
    500: '#c2af32',
    950: '#000000',
  },
}
SCSS
$custom: #c2af32;
$custom-light: #d8c673;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af32",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 52.083,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74877,
    "c": 0.13979,
    "h": 100.3
  },
  "luminance": 0.4236
}

Semantic roles & 50–950 ramp

primary
#C2AF32
secondary
#848DCC
accent
#5AE246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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