#C0AB37#C0AB37

#C0AB37 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.134 H 98.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C0AB37
RGBrgb(192, 171, 55)
HSLhsl(51, 55%, 48%)
HSVhsv(51, 71%, 75%)
CMYKcmyk(0%, 10.9%, 71.4%, 24.7%)
CIE-LABlab(69.90, -5.21, 59.39)
CIE-LCHlch(69.90, 59.62, 95.01°)
OKLaboklab(73.88% -0.0202 0.132)
OKLCHoklch(73.88% 0.134 98.7)
XYZxyz(36.9925, 40.6099, 9.5037)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB37 #374CC0
analogous
#C06637 #C0AB37 #90C037
triadic
#C0AB37 #37C0AB #AB37C0
tetradic
#C0AB37 #37C066 #374CC0 #C03790
square
#C0AB37 #37C066 #374CC0 #C03790
split-complementary
#C0AB37 #3790C0 #6637C0
monochromatic
#61561C #908129 #C0AB37 #D2C162 #E0D492

Accessibility & contrast

On white

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

On black

9.12
#C0AB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB37
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB37#FFFFFF#000000##000000
##C0AB371.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#CF9E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab37;
/* rgb */ color: rgb(192, 171, 55);
/* oklch */ color: oklch(73.9% 0.134 98.7);
Tailwind
colors: {
  custom: {
    50: '#d7c375',
    500: '#c0ab37',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab37;
$custom-light: #d7c375;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab37",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 50.803,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73878,
    "c": 0.13351,
    "h": 98.7
  },
  "luminance": 0.40608
}

Semantic roles & 50–950 ramp

primary
#C0AB37
secondary
#8892CB
accent
#60DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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