#C0AB3B#C0AB3B

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

Color values

HEX#C0AB3B
RGBrgb(192, 171, 59)
HSLhsl(51, 53%, 49%)
HSVhsv(51, 69%, 75%)
CMYKcmyk(0%, 10.9%, 69.3%, 24.7%)
CIE-LABlab(69.93, -5.00, 57.83)
CIE-LCHlch(69.93, 58.05, 94.94°)
OKLaboklab(73.91% -0.0192 0.1294)
OKLCHoklch(73.91% 0.131 98.4)
XYZxyz(37.0923, 40.6498, 10.0293)
Luminance0.4065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB3B #3B50C0
analogous
#C0683B #C0AB3B #93C03B
triadic
#C0AB3B #3BC0AB #AB3BC0
tetradic
#C0AB3B #3BC068 #3B50C0 #C03B93
square
#C0AB3B #3BC068 #3B50C0 #C03B93
split-complementary
#C0AB3B #3B93C0 #683BC0
monochromatic
#62581E #91812D #C0AB3B #D1C068 #DFD397

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0AB3B#FFFFFF#000000##000000
##C0AB3B1.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)
#BCA72B
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#CF9E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab3b;
/* rgb */ color: rgb(192, 171, 59);
/* oklch */ color: oklch(73.9% 0.131 98.4);
Tailwind
colors: {
  custom: {
    50: '#d7c377',
    500: '#c0ab3b',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab3b;
$custom-light: #d7c377;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab3b",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 50.526,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73909,
    "c": 0.13081,
    "h": 98.4
  },
  "luminance": 0.40648
}

Semantic roles & 50–950 ramp

primary
#C0AB3B
secondary
#8C96CA
accent
#62DC4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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