#C0AB33#C0AB33

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

Color values

HEX#C0AB33
RGBrgb(192, 171, 51)
HSLhsl(51, 58%, 48%)
HSVhsv(51, 73%, 75%)
CMYKcmyk(0%, 10.9%, 73.4%, 24.7%)
CIE-LABlab(69.88, -5.40, 60.88)
CIE-LCHlch(69.88, 61.12, 95.07°)
OKLaboklab(73.85% -0.0212 0.1344)
OKLCHoklch(73.85% 0.136 99)
XYZxyz(36.9005, 40.5731, 9.0191)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB33 #3348C0
analogous
#C06533 #C0AB33 #8EC033
triadic
#C0AB33 #33C0AB #AB33C0
tetradic
#C0AB33 #33C065 #3348C0 #C0338E
square
#C0AB33 #33C065 #3348C0 #C0338E
split-complementary
#C0AB33 #338EC0 #6533C0
monochromatic
#5F5519 #908026 #C0AB33 #D4C25C #E1D48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0AB33#FFFFFF#000000##000000
##C0AB331.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0ab33;
/* rgb */ color: rgb(192, 171, 51);
/* oklch */ color: oklch(73.8% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#d7c373',
    500: '#c0ab33',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab33;
$custom-light: #d7c373;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab33",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 51.064,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.13604,
    "h": 99
  },
  "luminance": 0.40571
}

Semantic roles & 50–950 ramp

primary
#C0AB33
secondary
#848ECB
accent
#5EE147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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