#C3AB51#C3AB51

#C3AB51 is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.113 H 94.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#C3AB51
RGBrgb(195, 171, 81)
HSLhsl(47, 49%, 54%)
HSVhsv(47, 58%, 76%)
CMYKcmyk(0%, 12.3%, 58.5%, 23.5%)
CIE-LABlab(70.40, -2.29, 48.68)
CIE-LCHlch(70.40, 48.74, 92.70°)
OKLaboklab(74.41% -0.009 0.1131)
OKLCHoklch(74.41% 0.113 94.6)
XYZxyz(38.5554, 41.3238, 13.7284)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB51 #5169C3
analogous
#C37251 #C3AB51 #A2C351
triadic
#C3AB51 #51C3AB #AB51C3
tetradic
#C3AB51 #51C372 #5169C3 #C351A2
square
#C3AB51 #51C372 #5169C3 #C351A2
split-complementary
#C3AB51 #51A2C3 #7251C3
monochromatic
#726227 #A08A37 #C3AB51 #D3C17F #E2D7AC

Accessibility & contrast

On white

2.27
#C3AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#C3AB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AB51
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AB51#FFFFFF#000000##000000
##C3AB511.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA848
Deuteranopia (green-blind)
#C1AF55
Tritanopia (blue-blind)
#D19F97
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab51;
/* rgb */ color: rgb(195, 171, 81);
/* oklch */ color: oklch(74.4% 0.113 94.6);
Tailwind
colors: {
  custom: {
    50: '#d8c385',
    500: '#c3ab51',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab51;
$custom-light: #d8c385;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab51",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 47.368,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74411,
    "c": 0.11347,
    "h": 94.6
  },
  "luminance": 0.41322
}

Semantic roles & 50–950 ramp

primary
#C3AB51
secondary
#A0AAD0
accent
#6CD850
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C3AB51

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

Preview Lab → · Contrast checker → · Palette generator →

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