#C0AB2F#C0AB2F

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

Color values

HEX#C0AB2F
RGBrgb(192, 171, 47)
HSLhsl(51, 61%, 47%)
HSVhsv(51, 76%, 75%)
CMYKcmyk(0%, 10.9%, 75.5%, 24.7%)
CIE-LABlab(69.85, -5.58, 62.29)
CIE-LCHlch(69.85, 62.54, 95.11°)
OKLaboklab(73.82% -0.0221 0.1366)
OKLCHoklch(73.82% 0.138 99.2)
XYZxyz(36.8160, 40.5393, 8.5744)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB2F #2F44C0
analogous
#C0622F #C0AB2F #8DC02F
triadic
#C0AB2F #2FC0AB #AB2FC0
tetradic
#C0AB2F #2FC062 #2F44C0 #C02F8D
square
#C0AB2F #2FC062 #2F44C0 #C02F8D
split-complementary
#C0AB2F #2F8DC0 #622FC0
monochromatic
#5E5317 #8F7F23 #C0AB2F #D6C356 #E2D588

Accessibility & contrast

On white

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

On black

9.11
#C0AB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB2F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB2F#FFFFFF#000000##000000
##C0AB2F1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0ab2f;
/* rgb */ color: rgb(192, 171, 47);
/* oklch */ color: oklch(73.8% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#d7c371',
    500: '#c0ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab2f;
$custom-light: #d7c371;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab2f",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 51.31,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73823,
    "c": 0.13839,
    "h": 99.2
  },
  "luminance": 0.40538
}

Semantic roles & 50–950 ramp

primary
#C0AB2F
secondary
#7F8ACB
accent
#5BE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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