#C2AF52#C2AF52

#C2AF52 is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.2% C 0.116 H 97.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#C2AF52
RGBrgb(194, 175, 82)
HSLhsl(50, 48%, 54%)
HSVhsv(50, 58%, 76%)
CMYKcmyk(0%, 9.8%, 57.7%, 23.9%)
CIE-LABlab(71.38, -4.76, 49.30)
CIE-LCHlch(71.38, 49.53, 95.51°)
OKLaboklab(75.17% -0.0159 0.1146)
OKLCHoklch(75.17% 0.116 97.9)
XYZxyz(39.1026, 42.7401, 14.1710)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF52 #5265C2
analogous
#C27752 #C2AF52 #9DC252
triadic
#C2AF52 #52C2AF #AF52C2
tetradic
#C2AF52 #52C277 #5265C2 #C2529D
square
#C2AF52 #52C277 #5265C2 #C2529D
split-complementary
#C2AF52 #529DC2 #7752C2
monochromatic
#726528 #9F8D38 #C2AF52 #D2C47F #E2D9AC

Accessibility & contrast

On white

2.20
#C2AF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#C2AF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF52
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF52#FFFFFF#000000##000000
##C2AF521.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB49
Deuteranopia (green-blind)
#C3B256
Tritanopia (blue-blind)
#D0A49A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2af52;
/* rgb */ color: rgb(194, 175, 82);
/* oklch */ color: oklch(75.2% 0.116 97.9);
Tailwind
colors: {
  custom: {
    50: '#d7c686',
    500: '#c2af52',
    950: '#000000',
  },
}
SCSS
$custom: #c2af52;
$custom-light: #d7c686;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af52",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 49.821,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75165,
    "c": 0.11567,
    "h": 97.9
  },
  "luminance": 0.42738
}

Semantic roles & 50–950 ramp

primary
#C2AF52
secondary
#A0A8D0
accent
#67D750
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2AF52

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

Preview Lab → · Contrast checker → · Palette generator →

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