#C0AA2F#C0AA2F

#C0AA2F is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.138 H 98.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#C0AA2F
RGBrgb(192, 170, 47)
HSLhsl(51, 61%, 47%)
HSVhsv(51, 76%, 75%)
CMYKcmyk(0%, 11.5%, 75.5%, 24.7%)
CIE-LABlab(69.59, -5.05, 62.04)
CIE-LCHlch(69.59, 62.25, 94.65°)
OKLaboklab(73.61% -0.0206 0.1361)
OKLCHoklch(73.61% 0.138 98.6)
XYZxyz(36.6279, 40.1630, 8.5117)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AA2F #2F45C0
analogous
#C0622F #C0AA2F #8DC02F
triadic
#C0AA2F #2FC0AA #AA2FC0
tetradic
#C0AA2F #2FC062 #2F45C0 #C02F8D
square
#C0AA2F #2FC062 #2F45C0 #C02F8D
split-complementary
#C0AA2F #2F8DC0 #622FC0
monochromatic
#5E5317 #8F7E23 #C0AA2F #D6C256 #E2D488

Accessibility & contrast

On white

2.33
#C0AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#C0AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AA2F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AA2F#FFFFFF#000000##000000
##C0AA2F1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA617
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#CF9D92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c0aa2f;
/* rgb */ color: rgb(192, 170, 47);
/* oklch */ color: oklch(73.6% 0.138 98.6);
Tailwind
colors: {
  custom: {
    50: '#d7c271',
    500: '#c0aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0aa2f;
$custom-light: #d7c271;
$custom-dark: #000000;
JSON
{
  "hex": "#c0aa2f",
  "rgb": {
    "r": 192,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 50.897,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.13764,
    "h": 98.6
  },
  "luminance": 0.40161
}

Semantic roles & 50–950 ramp

primary
#C0AA2F
secondary
#7F8BCB
accent
#5CE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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