#C0AB42#C0AB42

#C0AB42 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.126 H 97.9°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#C0AB42
RGBrgb(192, 171, 66)
HSLhsl(50, 50%, 51%)
HSVhsv(50, 66%, 75%)
CMYKcmyk(0%, 10.9%, 65.6%, 24.7%)
CIE-LABlab(69.98, -4.60, 54.96)
CIE-LCHlch(69.98, 55.15, 94.79°)
OKLaboklab(73.97% -0.0173 0.1245)
OKLCHoklch(73.97% 0.126 97.9)
XYZxyz(37.2862, 40.7274, 11.0504)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB42 #4257C0
analogous
#C06C42 #C0AB42 #96C042
triadic
#C0AB42 #42C0AB #AB42C0
tetradic
#C0AB42 #42C06C #4257C0 #C04296
square
#C0AB42 #42C06C #4257C0 #C04296
split-complementary
#C0AB42 #4296C0 #6C42C0
monochromatic
#665A22 #948331 #C0AB42 #CFBF70 #DFD49E

Accessibility & contrast

On white

2.30
#C0AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#C0AB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB42
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB42#FFFFFF#000000##000000
##C0AB421.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#C1AE48
Tritanopia (blue-blind)
#CF9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab42;
/* rgb */ color: rgb(192, 171, 66);
/* oklch */ color: oklch(74.0% 0.126 97.9);
Tailwind
colors: {
  custom: {
    50: '#d6c37b',
    500: '#c0ab42',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab42;
$custom-light: #d6c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab42",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 50,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7397,
    "c": 0.12567,
    "h": 97.9
  },
  "luminance": 0.40726
}

Semantic roles & 50–950 ramp

primary
#C0AB42
secondary
#939CCB
accent
#65DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C0AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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