#C3AB3C#C3AB3C

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

Color values

HEX#C3AB3C
RGBrgb(195, 171, 60)
HSLhsl(49, 53%, 50%)
HSVhsv(49, 69%, 76%)
CMYKcmyk(0%, 12.3%, 69.2%, 23.5%)
CIE-LABlab(70.22, -3.64, 57.80)
CIE-LCHlch(70.22, 57.92, 93.61°)
OKLaboklab(74.2% -0.0154 0.1294)
OKLCHoklch(74.2% 0.13 96.8)
XYZxyz(37.8860, 41.0561, 10.2031)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB3C #3C54C3
analogous
#C3673C #C3AB3C #98C33C
triadic
#C3AB3C #3CC3AB #AB3CC3
tetradic
#C3AB3C #3CC367 #3C54C3 #C33C98
square
#C3AB3C #3CC367 #3C54C3 #C33C98
split-complementary
#C3AB3C #3C98C3 #673CC3
monochromatic
#65591F #94822E #C3AB3C #D1BF6B #E0D39A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AB3C#FFFFFF#000000##000000
##C3AB3C1.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)
#BCA72D
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab3c;
/* rgb */ color: rgb(195, 171, 60);
/* oklch */ color: oklch(74.2% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#d9c378',
    500: '#c3ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab3c;
$custom-light: #d9c378;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab3c",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 49.333,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.74203,
    "c": 0.13032,
    "h": 96.8
  },
  "luminance": 0.41054
}

Semantic roles & 50–950 ramp

primary
#C3AB3C
secondary
#8F9ACC
accent
#65DC4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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