#C3AB39#C3AB39

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

Color values

HEX#C3AB39
RGBrgb(195, 171, 57)
HSLhsl(50, 55%, 49%)
HSVhsv(50, 71%, 76%)
CMYKcmyk(0%, 12.3%, 70.8%, 23.5%)
CIE-LABlab(70.19, -3.80, 58.99)
CIE-LCHlch(70.19, 59.11, 93.69°)
OKLaboklab(74.18% -0.0162 0.1314)
OKLCHoklch(74.18% 0.132 97)
XYZxyz(37.8090, 41.0253, 9.7973)
Luminance0.4102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB39 #3951C3
analogous
#C36639 #C3AB39 #96C339
triadic
#C3AB39 #39C3AB #AB39C3
tetradic
#C3AB39 #39C366 #3951C3 #C33996
square
#C3AB39 #39C366 #3951C3 #C33996
split-complementary
#C3AB39 #3996C3 #6639C3
monochromatic
#64581D #94812B #C3AB39 #D2C067 #E0D396

Accessibility & contrast

On white

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

On black

9.20
#C3AB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AB39
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AB39#FFFFFF#000000##000000
##C3AB391.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3ab39;
/* rgb */ color: rgb(195, 171, 57);
/* oklch */ color: oklch(74.2% 0.132 97.0);
Tailwind
colors: {
  custom: {
    50: '#d9c376',
    500: '#c3ab39',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab39;
$custom-light: #d9c376;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab39",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 49.565,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74179,
    "c": 0.13237,
    "h": 97
  },
  "luminance": 0.41023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C3AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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