#C3AB3B#C3AB3B

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

Color values

HEX#C3AB3B
RGBrgb(195, 171, 59)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 70%, 76%)
CMYKcmyk(0%, 12.3%, 69.7%, 23.5%)
CIE-LABlab(70.21, -3.70, 58.20)
CIE-LCHlch(70.21, 58.32, 93.63°)
OKLaboklab(74.19% -0.0156 0.1301)
OKLCHoklch(74.19% 0.131 96.9)
XYZxyz(37.8598, 41.0456, 10.0652)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB3B #3B53C3
analogous
#C3673B #C3AB3B #97C33B
triadic
#C3AB3B #3BC3AB #AB3BC3
tetradic
#C3AB3B #3BC367 #3B53C3 #C33B97
square
#C3AB3B #3BC367 #3B53C3 #C33B97
split-complementary
#C3AB3B #3B97C3 #673BC3
monochromatic
#65591F #94822D #C3AB3B #D2BF69 #E0D398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AB3B#FFFFFF#000000##000000
##C3AB3B1.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)
#BCA72B
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab3b;
/* rgb */ color: rgb(195, 171, 59);
/* oklch */ color: oklch(74.2% 0.131 96.9);
Tailwind
colors: {
  custom: {
    50: '#d9c377',
    500: '#c3ab3b',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab3b;
$custom-light: #d9c377;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab3b",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 49.412,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74195,
    "c": 0.13101,
    "h": 96.9
  },
  "luminance": 0.41044
}

Semantic roles & 50–950 ramp

primary
#C3AB3B
secondary
#8E99CC
accent
#65DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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