#C0AF41#C0AF41

#C0AF41 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.130 H 100.5°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#C0AF41
RGBrgb(192, 175, 65)
HSLhsl(52, 50%, 50%)
HSVhsv(52, 66%, 75%)
CMYKcmyk(0%, 8.9%, 66.1%, 24.7%)
CIE-LABlab(71.04, -6.76, 56.50)
CIE-LCHlch(71.04, 56.90, 96.83°)
OKLaboklab(74.81% -0.0235 0.1276)
OKLCHoklch(74.81% 0.13 100.5)
XYZxyz(38.0240, 42.2497, 11.1521)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF41 #4152C0
analogous
#C07041 #C0AF41 #91C041
triadic
#C0AF41 #41C0AF #AF41C0
tetradic
#C0AF41 #41C070 #4152C0 #C04191
square
#C0AF41 #41C070 #4152C0 #C04191
split-complementary
#C0AF41 #4191C0 #7041C0
monochromatic
#655C22 #938631 #C0AF41 #CFC26F #DED69D

Accessibility & contrast

On white

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

On black

9.45
#C0AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF41
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF41#FFFFFF#000000##000000
##C0AF411.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#CEA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af41;
/* rgb */ color: rgb(192, 175, 65);
/* oklch */ color: oklch(74.8% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#d6c67b',
    500: '#c0af41',
    950: '#000000',
  },
}
SCSS
$custom: #c0af41;
$custom-light: #d6c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af41",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 51.969,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.12973,
    "h": 100.5
  },
  "luminance": 0.42248
}

Semantic roles & 50–950 ramp

primary
#C0AF41
secondary
#929ACB
accent
#61DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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