#C0AC3F#C0AC3F

#C0AC3F is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.129 H 98.8°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#C0AC3F
RGBrgb(192, 172, 63)
HSLhsl(51, 51%, 50%)
HSVhsv(51, 67%, 75%)
CMYKcmyk(0%, 10.4%, 67.2%, 24.7%)
CIE-LABlab(70.23, -5.31, 56.49)
CIE-LCHlch(70.23, 56.74, 95.37°)
OKLaboklab(74.15% -0.0196 0.1272)
OKLCHoklch(74.15% 0.129 98.8)
XYZxyz(37.3896, 41.0721, 10.6599)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AC3F #3F53C0
analogous
#C06C3F #C0AC3F #93C03F
triadic
#C0AC3F #3FC0AC #AC3FC0
tetradic
#C0AC3F #3FC06C #3F53C0 #C03F93
square
#C0AC3F #3FC06C #3F53C0 #C03F93
split-complementary
#C0AC3F #3F93C0 #6C3FC0
monochromatic
#645921 #928330 #C0AC3F #CFC06D #DED49B

Accessibility & contrast

On white

2.28
#C0AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#C0AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AC3F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AC3F#FFFFFF#000000##000000
##C0AC3F1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#CFA096
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c0ac3f;
/* rgb */ color: rgb(192, 172, 63);
/* oklch */ color: oklch(74.2% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#d6c47a',
    500: '#c0ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ac3f;
$custom-light: #d6c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ac3f",
  "rgb": {
    "r": 192,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 50.698,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.74154,
    "c": 0.12873,
    "h": 98.8
  },
  "luminance": 0.4107
}

Semantic roles & 50–950 ramp

primary
#C0AC3F
secondary
#9199CA
accent
#63DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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