#C0AB2B#C0AB2B

#C0AB2B is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.141 H 99.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#C0AB2B
RGBrgb(192, 171, 43)
HSLhsl(52, 63%, 46%)
HSVhsv(52, 78%, 75%)
CMYKcmyk(0%, 10.9%, 77.6%, 24.7%)
CIE-LABlab(69.83, -5.74, 63.63)
CIE-LCHlch(69.83, 63.89, 95.15°)
OKLaboklab(73.8% -0.0229 0.1387)
OKLCHoklch(73.8% 0.141 99.4)
XYZxyz(36.7390, 40.5085, 8.1688)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB2B #2B40C0
analogous
#C0612B #C0AB2B #8AC02B
triadic
#C0AB2B #2BC0AB #AB2BC0
tetradic
#C0AB2B #2BC061 #2B40C0 #C02B8A
square
#C0AB2B #2BC061 #2B40C0 #C02B8A
split-complementary
#C0AB2B #2B8AC0 #612BC0
monochromatic
#5C5215 #8E7E20 #C0AB2B #D8C550 #E3D582

Accessibility & contrast

On white

2.31
#C0AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#C0AB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB2B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB2B#FFFFFF#000000##000000
##C0AB2B1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA60C
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#CF9E93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab2b;
/* rgb */ color: rgb(192, 171, 43);
/* oklch */ color: oklch(73.8% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#d7c36f',
    500: '#c0ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab2b;
$custom-light: #d7c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab2b",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 51.544,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73799,
    "c": 0.14056,
    "h": 99.4
  },
  "luminance": 0.40507
}

Semantic roles & 50–950 ramp

primary
#C0AB2B
secondary
#7B86CC
accent
#59E641
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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