#C0AB39#C0AB39

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

Color values

HEX#C0AB39
RGBrgb(192, 171, 57)
HSLhsl(51, 54%, 49%)
HSVhsv(51, 70%, 75%)
CMYKcmyk(0%, 10.9%, 70.3%, 24.7%)
CIE-LABlab(69.92, -5.11, 58.62)
CIE-LCHlch(69.92, 58.84, 94.98°)
OKLaboklab(73.89% -0.0197 0.1307)
OKLCHoklch(73.89% 0.132 98.6)
XYZxyz(37.0414, 40.6295, 9.7613)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB39 #394EC0
analogous
#C06839 #C0AB39 #92C039
triadic
#C0AB39 #39C0AB #AB39C0
tetradic
#C0AB39 #39C068 #394EC0 #C03992
square
#C0AB39 #39C068 #394EC0 #C03992
split-complementary
#C0AB39 #3992C0 #6839C0
monochromatic
#62571D #91812B #C0AB39 #D1C065 #DFD494

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0AB39#FFFFFF#000000##000000
##C0AB391.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)
#BCA728
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#CF9E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab39;
/* rgb */ color: rgb(192, 171, 57);
/* oklch */ color: oklch(73.9% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#d7c376',
    500: '#c0ab39',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab39;
$custom-light: #d7c376;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab39",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 50.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73893,
    "c": 0.13218,
    "h": 98.6
  },
  "luminance": 0.40628
}

Semantic roles & 50–950 ramp

primary
#C0AB39
secondary
#8A94CB
accent
#61DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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