#C3AB3A#C3AB3A

#C3AB3A is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.132 H 96.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#C3AB3A
RGBrgb(195, 171, 58)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 70%, 76%)
CMYKcmyk(0%, 12.3%, 70.3%, 23.5%)
CIE-LABlab(70.20, -3.75, 58.60)
CIE-LCHlch(70.20, 58.72, 93.66°)
OKLaboklab(74.19% -0.0159 0.1307)
OKLCHoklch(74.19% 0.132 96.9)
XYZxyz(37.8341, 41.0353, 9.9299)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB3A #3A52C3
analogous
#C3673A #C3AB3A #97C33A
triadic
#C3AB3A #3AC3AB #AB3AC3
tetradic
#C3AB3A #3AC367 #3A52C3 #C33A97
square
#C3AB3A #3AC367 #3A52C3 #C33A97
split-complementary
#C3AB3A #3A97C3 #673AC3
monochromatic
#65581E #94822C #C3AB3A #D2C068 #E0D397

Accessibility & contrast

On white

2.28
#C3AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#C3AB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AB3A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AB3A#FFFFFF#000000##000000
##C3AB3A1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab3a;
/* rgb */ color: rgb(195, 171, 58);
/* oklch */ color: oklch(74.2% 0.132 96.9);
Tailwind
colors: {
  custom: {
    50: '#d9c377',
    500: '#c3ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab3a;
$custom-light: #d9c377;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab3a",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 49.489,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74187,
    "c": 0.13169,
    "h": 96.9
  },
  "luminance": 0.41033
}

Semantic roles & 50–950 ramp

primary
#C3AB3A
secondary
#8D98CC
accent
#64DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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