#C0AF47#C0AF47

#C0AF47 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.125 H 100.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C0AF47
RGBrgb(192, 175, 71)
HSLhsl(52, 49%, 52%)
HSVhsv(52, 63%, 75%)
CMYKcmyk(0%, 8.9%, 63%, 24.7%)
CIE-LABlab(71.09, -6.39, 53.96)
CIE-LCHlch(71.09, 54.34, 96.75°)
OKLaboklab(74.86% -0.0218 0.1231)
OKLCHoklch(74.86% 0.125 100)
XYZxyz(38.2071, 42.3230, 12.1166)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF47 #4758C0
analogous
#C07347 #C0AF47 #95C047
triadic
#C0AF47 #47C0AF #AF47C0
tetradic
#C0AF47 #47C073 #4758C0 #C04795
square
#C0AF47 #47C073 #4758C0 #C04795
split-complementary
#C0AF47 #4795C0 #7347C0
monochromatic
#695F24 #968833 #C0AF47 #D0C375 #DFD7A2

Accessibility & contrast

On white

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

On black

9.46
#C0AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF47
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF47#FFFFFF#000000##000000
##C0AF471.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA3B
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#CEA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af47;
/* rgb */ color: rgb(192, 175, 71);
/* oklch */ color: oklch(74.9% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#d6c67f',
    500: '#c0af47',
    950: '#000000',
  },
}
SCSS
$custom: #c0af47;
$custom-light: #d6c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af47",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 51.57,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74862,
    "c": 0.12504,
    "h": 100
  },
  "luminance": 0.42321
}

Semantic roles & 50–950 ramp

primary
#C0AF47
secondary
#979ECC
accent
#63D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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