#C0AB3A#C0AB3A

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

Color values

HEX#C0AB3A
RGBrgb(192, 171, 58)
HSLhsl(51, 54%, 49%)
HSVhsv(51, 70%, 75%)
CMYKcmyk(0%, 10.9%, 69.8%, 24.7%)
CIE-LABlab(69.92, -5.05, 58.23)
CIE-LCHlch(69.92, 58.45, 94.96°)
OKLaboklab(73.9% -0.0195 0.1301)
OKLCHoklch(73.9% 0.132 98.5)
XYZxyz(37.0666, 40.6396, 9.8940)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB3A #3A4FC0
analogous
#C0683A #C0AB3A #92C03A
triadic
#C0AB3A #3AC0AB #AB3AC0
tetradic
#C0AB3A #3AC068 #3A4FC0 #C03A92
square
#C0AB3A #3AC068 #3A4FC0 #C03A92
split-complementary
#C0AB3A #3A92C0 #683AC0
monochromatic
#62571E #91812C #C0AB3A #D1C066 #DFD495

Accessibility & contrast

On white

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

On black

9.13
#C0AB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB3A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB3A#FFFFFF#000000##000000
##C0AB3A1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0ab3a;
/* rgb */ color: rgb(192, 171, 58);
/* oklch */ color: oklch(73.9% 0.132 98.5);
Tailwind
colors: {
  custom: {
    50: '#d7c377',
    500: '#c0ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab3a;
$custom-light: #d7c377;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab3a",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 50.597,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73901,
    "c": 0.1315,
    "h": 98.5
  },
  "luminance": 0.40638
}

Semantic roles & 50–950 ramp

primary
#C0AB3A
secondary
#8B95CA
accent
#62DD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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