#C0AB40#C0AB40

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

Color values

HEX#C0AB40
RGBrgb(192, 171, 64)
HSLhsl(50, 50%, 50%)
HSVhsv(50, 67%, 75%)
CMYKcmyk(0%, 10.9%, 66.7%, 24.7%)
CIE-LABlab(69.97, -4.72, 55.80)
CIE-LCHlch(69.97, 56.00, 94.84°)
OKLaboklab(73.95% -0.0178 0.1259)
OKLCHoklch(73.95% 0.127 98.1)
XYZxyz(37.2282, 40.7042, 10.7453)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB40 #4055C0
analogous
#C06B40 #C0AB40 #95C040
triadic
#C0AB40 #40C0AB #AB40C0
tetradic
#C0AB40 #40C06B #4055C0 #C04095
square
#C0AB40 #40C06B #4055C0 #C04095
split-complementary
#C0AB40 #4095C0 #6B40C0
monochromatic
#645921 #928230 #C0AB40 #CFBF6E #DED39C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0AB40#FFFFFF#000000##000000
##C0AB401.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)
#BBA732
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#CF9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab40;
/* rgb */ color: rgb(192, 171, 64);
/* oklch */ color: oklch(74.0% 0.127 98.1);
Tailwind
colors: {
  custom: {
    50: '#d6c37a',
    500: '#c0ab40',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab40;
$custom-light: #d6c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab40",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 50.156,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73952,
    "c": 0.12719,
    "h": 98.1
  },
  "luminance": 0.40702
}

Semantic roles & 50–950 ramp

primary
#C0AB40
secondary
#919BCB
accent
#65DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C0AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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