#C0AB3F#C0AB3F

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

Color values

HEX#C0AB3F
RGBrgb(192, 171, 63)
HSLhsl(50, 51%, 50%)
HSVhsv(50, 67%, 75%)
CMYKcmyk(0%, 10.9%, 67.2%, 24.7%)
CIE-LABlab(69.96, -4.78, 56.21)
CIE-LCHlch(69.96, 56.41, 94.86°)
OKLaboklab(73.94% -0.0181 0.1267)
OKLCHoklch(73.94% 0.128 98.1)
XYZxyz(37.2000, 40.6929, 10.5967)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB3F #3F54C0
analogous
#C06B3F #C0AB3F #94C03F
triadic
#C0AB3F #3FC0AB #AB3FC0
tetradic
#C0AB3F #3FC06B #3F54C0 #C03F94
square
#C0AB3F #3FC06B #3F54C0 #C03F94
split-complementary
#C0AB3F #3F94C0 #6B3FC0
monochromatic
#645921 #928230 #C0AB3F #CFBF6D #DED39B

Accessibility & contrast

On white

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

On black

9.14
#C0AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB3F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB3F#FFFFFF#000000##000000
##C0AB3F1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0ab3f;
/* rgb */ color: rgb(192, 171, 63);
/* oklch */ color: oklch(73.9% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#d6c37a',
    500: '#c0ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab3f;
$custom-light: #d6c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab3f",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 50.233,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.73943,
    "c": 0.12794,
    "h": 98.1
  },
  "luminance": 0.40691
}

Semantic roles & 50–950 ramp

primary
#C0AB3F
secondary
#919ACA
accent
#65DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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