#C2AF47#C2AF47

#C2AF47 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.0% C 0.125 H 98.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#C2AF47
RGBrgb(194, 175, 71)
HSLhsl(51, 50%, 52%)
HSVhsv(51, 63%, 76%)
CMYKcmyk(0%, 9.8%, 63.4%, 23.9%)
CIE-LABlab(71.27, -5.53, 54.21)
CIE-LCHlch(71.27, 54.49, 95.83°)
OKLaboklab(75.05% -0.0194 0.1236)
OKLCHoklch(75.05% 0.125 98.9)
XYZxyz(38.7171, 42.5859, 12.1405)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF47 #475AC2
analogous
#C27247 #C2AF47 #97C247
triadic
#C2AF47 #47C2AF #AF47C2
tetradic
#C2AF47 #47C272 #475AC2 #C24797
square
#C2AF47 #47C272 #475AC2 #C24797
split-complementary
#C2AF47 #4797C2 #7247C2
monochromatic
#6B6024 #998933 #C2AF47 #D1C375 #E0D7A3

Accessibility & contrast

On white

2.21
#C2AF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#C2AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF47
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF47#FFFFFF#000000##000000
##C2AF471.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3B
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#D0A399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af47;
/* rgb */ color: rgb(194, 175, 71);
/* oklch */ color: oklch(75.0% 0.125 98.9);
Tailwind
colors: {
  custom: {
    50: '#d7c67f',
    500: '#c2af47',
    950: '#000000',
  },
}
SCSS
$custom: #c2af47;
$custom-light: #d7c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af47",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 50.732,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75048,
    "c": 0.12512,
    "h": 98.9
  },
  "luminance": 0.42584
}

Semantic roles & 50–950 ramp

primary
#C2AF47
secondary
#97A0CD
accent
#64DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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