#C0AC2B#C0AC2B

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

Color values

HEX#C0AC2B
RGBrgb(192, 172, 43)
HSLhsl(52, 63%, 46%)
HSVhsv(52, 78%, 75%)
CMYKcmyk(0%, 10.4%, 77.6%, 24.7%)
CIE-LABlab(70.10, -6.26, 63.87)
CIE-LCHlch(70.10, 64.18, 95.60°)
OKLaboklab(74.01% -0.0244 0.1392)
OKLCHoklch(74.01% 0.141 99.9)
XYZxyz(36.9286, 40.8877, 8.2320)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AC2B #2B3FC0
analogous
#C0612B #C0AC2B #89C02B
triadic
#C0AC2B #2BC0AC #AC2BC0
tetradic
#C0AC2B #2BC061 #2B3FC0 #C02B89
square
#C0AC2B #2BC061 #2B3FC0 #C02B89
split-complementary
#C0AC2B #2B89C0 #612BC0
monochromatic
#5C5215 #8E7F20 #C0AC2B #D8C650 #E3D682

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0AC2B#FFFFFF#000000##000000
##C0AC2B1.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)
#BDA70C
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#CF9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ac2b;
/* rgb */ color: rgb(192, 172, 43);
/* oklch */ color: oklch(74.0% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#d7c46f',
    500: '#c0ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #c0ac2b;
$custom-light: #d7c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ac2b",
  "rgb": {
    "r": 192,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 51.946,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7401,
    "c": 0.14132,
    "h": 99.9
  },
  "luminance": 0.40886
}

Semantic roles & 50–950 ramp

primary
#C0AC2B
secondary
#7B86CC
accent
#58E641
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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