#C2AB32#C2AB32

#C2AB32 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.137 H 98.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C2AB32
RGBrgb(194, 171, 50)
HSLhsl(50, 59%, 48%)
HSVhsv(50, 74%, 76%)
CMYKcmyk(0%, 11.9%, 74.2%, 23.9%)
CIE-LABlab(70.05, -4.57, 61.48)
CIE-LCHlch(70.05, 61.65, 94.25°)
OKLaboklab(74.03% -0.019 0.1354)
OKLCHoklch(74.03% 0.137 98)
XYZxyz(37.3886, 40.8273, 8.9281)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB32 #3249C2
analogous
#C26332 #C2AB32 #91C232
triadic
#C2AB32 #32C2AB #AB32C2
tetradic
#C2AB32 #32C263 #3249C2 #C23291
square
#C2AB32 #32C263 #3249C2 #C23291
split-complementary
#C2AB32 #3291C2 #6332C2
monochromatic
#615519 #918025 #C2AB32 #D5C25C #E2D48D

Accessibility & contrast

On white

2.29
#C2AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#C2AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB32
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB32#FFFFFF#000000##000000
##C2AB321.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71C
Deuteranopia (green-blind)
#C2AF3A
Tritanopia (blue-blind)
#D19E93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab32;
/* rgb */ color: rgb(194, 171, 50);
/* oklch */ color: oklch(74.0% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#d8c373',
    500: '#c2ab32',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab32;
$custom-light: #d8c373;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab32",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 50.417,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74033,
    "c": 0.13672,
    "h": 98
  },
  "luminance": 0.40825
}

Semantic roles & 50–950 ramp

primary
#C2AB32
secondary
#848FCC
accent
#5FE246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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