#C0AA42#C0AA42

#C0AA42 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.8% C 0.125 H 97.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#C0AA42
RGBrgb(192, 170, 66)
HSLhsl(50, 50%, 51%)
HSVhsv(50, 66%, 75%)
CMYKcmyk(0%, 11.5%, 65.6%, 24.7%)
CIE-LABlab(69.72, -4.07, 54.68)
CIE-LCHlch(69.72, 54.83, 94.26°)
OKLaboklab(73.76% -0.0157 0.1239)
OKLCHoklch(73.76% 0.125 97.2)
XYZxyz(37.0980, 40.3511, 10.9877)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AA42 #4258C0
analogous
#C06B42 #C0AA42 #97C042
triadic
#C0AA42 #42C0AA #AA42C0
tetradic
#C0AA42 #42C06B #4258C0 #C04297
square
#C0AA42 #42C06B #4258C0 #C04297
split-complementary
#C0AA42 #4297C0 #6B42C0
monochromatic
#665A22 #948231 #C0AA42 #CFBF70 #DFD39E

Accessibility & contrast

On white

2.32
#C0AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#C0AA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AA42
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AA42#FFFFFF#000000##000000
##C0AA421.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA635
Deuteranopia (green-blind)
#C0AD47
Tritanopia (blue-blind)
#CF9E94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c0aa42;
/* rgb */ color: rgb(192, 170, 66);
/* oklch */ color: oklch(73.8% 0.125 97.2);
Tailwind
colors: {
  custom: {
    50: '#d6c37b',
    500: '#c0aa42',
    950: '#000000',
  },
}
SCSS
$custom: #c0aa42;
$custom-light: #d6c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0aa42",
  "rgb": {
    "r": 192,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 49.524,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7376,
    "c": 0.12488,
    "h": 97.2
  },
  "luminance": 0.40349
}

Semantic roles & 50–950 ramp

primary
#C0AA42
secondary
#939DCB
accent
#67DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C0AA42

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

Preview Lab → · Contrast checker → · Palette generator →

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