#C0AF3C#C0AF3C

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

Color values

HEX#C0AF3C
RGBrgb(192, 175, 60)
HSLhsl(52, 52%, 49%)
HSVhsv(52, 69%, 75%)
CMYKcmyk(0%, 8.9%, 68.7%, 24.7%)
CIE-LABlab(71.00, -7.05, 58.52)
CIE-LCHlch(71.00, 58.94, 96.87°)
OKLaboklab(74.76% -0.0249 0.131)
OKLCHoklch(74.76% 0.133 100.8)
XYZxyz(37.8855, 42.1943, 10.4228)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF3C #3C4DC0
analogous
#C06D3C #C0AF3C #8FC03C
triadic
#C0AF3C #3CC0AF #AF3CC0
tetradic
#C0AF3C #3CC06D #3C4DC0 #C03C8F
square
#C0AF3C #3CC06D #3C4DC0 #C03C8F
split-complementary
#C0AF3C #3C8FC0 #6D3CC0
monochromatic
#635A1F #91852D #C0AF3C #D0C369 #DFD698

Accessibility & contrast

On white

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

On black

9.44
#C0AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF3C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF3C#FFFFFF#000000##000000
##C0AF3C1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2C
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#CFA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af3c;
/* rgb */ color: rgb(192, 175, 60);
/* oklch */ color: oklch(74.8% 0.133 100.8);
Tailwind
colors: {
  custom: {
    50: '#d6c678',
    500: '#c0af3c',
    950: '#000000',
  },
}
SCSS
$custom: #c0af3c;
$custom-light: #d6c678;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af3c",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 52.273,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74764,
    "c": 0.13337,
    "h": 100.8
  },
  "luminance": 0.42193
}

Semantic roles & 50–950 ramp

primary
#C0AF3C
secondary
#8D95CA
accent
#5FDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C0AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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