#C3AB40#C3AB40

#C3AB40 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.127 H 96.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C3AB40
RGBrgb(195, 171, 64)
HSLhsl(49, 52%, 51%)
HSVhsv(49, 67%, 76%)
CMYKcmyk(0%, 12.3%, 67.2%, 23.5%)
CIE-LABlab(70.25, -3.42, 56.17)
CIE-LCHlch(70.25, 56.28, 93.48°)
OKLaboklab(74.24% -0.0143 0.1266)
OKLCHoklch(74.24% 0.127 96.4)
XYZxyz(37.9958, 41.1000, 10.7812)
Luminance0.4110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB40 #4058C3
analogous
#C36940 #C3AB40 #99C340
triadic
#C3AB40 #40C3AB #AB40C3
tetradic
#C3AB40 #40C369 #4058C3 #C34099
square
#C3AB40 #40C369 #4058C3 #C34099
split-complementary
#C3AB40 #4099C3 #6940C3
monochromatic
#685B21 #97842F #C3AB40 #D2BF6F #E0D49D

Accessibility & contrast

On white

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

On black

9.22
#C3AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AB40
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AB40#FFFFFF#000000##000000
##C3AB401.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#D29E95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab40;
/* rgb */ color: rgb(195, 171, 64);
/* oklch */ color: oklch(74.2% 0.127 96.4);
Tailwind
colors: {
  custom: {
    50: '#d9c37a',
    500: '#c3ab40',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab40;
$custom-light: #d9c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab40",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 49.008,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74237,
    "c": 0.12744,
    "h": 96.4
  },
  "luminance": 0.41098
}

Semantic roles & 50–950 ramp

primary
#C3AB40
secondary
#929DCC
accent
#66DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C3AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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