#C0AB3C#C0AB3C

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

Color values

HEX#C0AB3C
RGBrgb(192, 171, 60)
HSLhsl(50, 52%, 49%)
HSVhsv(50, 69%, 75%)
CMYKcmyk(0%, 10.9%, 68.7%, 24.7%)
CIE-LABlab(69.94, -4.95, 57.43)
CIE-LCHlch(69.94, 57.64, 94.92°)
OKLaboklab(73.92% -0.0189 0.1287)
OKLCHoklch(73.92% 0.13 98.4)
XYZxyz(37.1185, 40.6603, 10.1672)
Luminance0.4066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB3C #3C51C0
analogous
#C0693C #C0AB3C #93C03C
triadic
#C0AB3C #3CC0AB #AB3CC0
tetradic
#C0AB3C #3CC069 #3C51C0 #C03C93
square
#C0AB3C #3CC069 #3C51C0 #C03C93
split-complementary
#C0AB3C #3C93C0 #693CC0
monochromatic
#63581F #91812D #C0AB3C #D0C069 #DFD398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0AB3C#FFFFFF#000000##000000
##C0AB3C1.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)
#BBA72D
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#CF9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab3c;
/* rgb */ color: rgb(192, 171, 60);
/* oklch */ color: oklch(73.9% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#d6c378',
    500: '#c0ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab3c;
$custom-light: #d6c378;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab3c",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 50.455,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73918,
    "c": 0.1301,
    "h": 98.4
  },
  "luminance": 0.40659
}

Semantic roles & 50–950 ramp

primary
#C0AB3C
secondary
#8D97CA
accent
#63DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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