#C0AB36#C0AB36

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

Color values

HEX#C0AB36
RGBrgb(192, 171, 54)
HSLhsl(51, 56%, 48%)
HSVhsv(51, 72%, 75%)
CMYKcmyk(0%, 10.9%, 71.9%, 24.7%)
CIE-LABlab(69.89, -5.26, 59.77)
CIE-LCHlch(69.89, 60.00, 95.03°)
OKLaboklab(73.87% -0.0205 0.1326)
OKLCHoklch(73.87% 0.134 98.8)
XYZxyz(36.9688, 40.6004, 9.3787)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB36 #364BC0
analogous
#C06636 #C0AB36 #90C036
triadic
#C0AB36 #36C0AB #AB36C0
tetradic
#C0AB36 #36C066 #364BC0 #C03690
square
#C0AB36 #36C066 #364BC0 #C03690
split-complementary
#C0AB36 #3690C0 #6636C0
monochromatic
#60561B #908029 #C0AB36 #D2C161 #E0D490

Accessibility & contrast

On white

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

On black

9.12
#C0AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB36
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB36#FFFFFF#000000##000000
##C0AB361.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA723
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#CF9E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab36;
/* rgb */ color: rgb(192, 171, 54);
/* oklch */ color: oklch(73.9% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#d7c375',
    500: '#c0ab36',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab36;
$custom-light: #d7c375;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab36",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 50.87,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73871,
    "c": 0.13416,
    "h": 98.8
  },
  "luminance": 0.40599
}

Semantic roles & 50–950 ramp

primary
#C0AB36
secondary
#8791CB
accent
#5FDF48
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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