#C0AC2F#C0AC2F

#C0AC2F is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.139 H 99.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#C0AC2F
RGBrgb(192, 172, 47)
HSLhsl(52, 61%, 47%)
HSVhsv(52, 76%, 75%)
CMYKcmyk(0%, 10.4%, 75.5%, 24.7%)
CIE-LABlab(70.12, -6.10, 62.54)
CIE-LCHlch(70.12, 62.84, 95.57°)
OKLaboklab(74.03% -0.0236 0.1372)
OKLCHoklch(74.03% 0.139 99.8)
XYZxyz(37.0057, 40.9186, 8.6376)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AC2F #2F43C0
analogous
#C0642F #C0AC2F #8CC02F
triadic
#C0AC2F #2FC0AC #AC2FC0
tetradic
#C0AC2F #2FC064 #2F43C0 #C02F8C
square
#C0AC2F #2FC064 #2F43C0 #C02F8C
split-complementary
#C0AC2F #2F8CC0 #642FC0
monochromatic
#5E5417 #8F8023 #C0AC2F #D6C456 #E2D588

Accessibility & contrast

On white

2.29
#C0AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#C0AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AC2F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AC2F#FFFFFF#000000##000000
##C0AC2F1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA716
Deuteranopia (green-blind)
#C2AF38
Tritanopia (blue-blind)
#CF9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ac2f;
/* rgb */ color: rgb(192, 172, 47);
/* oklch */ color: oklch(74.0% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#d7c471',
    500: '#c0ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ac2f;
$custom-light: #d7c471;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ac2f",
  "rgb": {
    "r": 192,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 51.724,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74034,
    "c": 0.13916,
    "h": 99.8
  },
  "luminance": 0.40917
}

Semantic roles & 50–950 ramp

primary
#C0AC2F
secondary
#7F8ACB
accent
#5AE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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