#C3AB3F#C3AB3F

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

Color values

HEX#C3AB3F
RGBrgb(195, 171, 63)
HSLhsl(49, 52%, 51%)
HSVhsv(49, 68%, 76%)
CMYKcmyk(0%, 12.3%, 67.7%, 23.5%)
CIE-LABlab(70.24, -3.48, 56.59)
CIE-LCHlch(70.24, 56.69, 93.52°)
OKLaboklab(74.23% -0.0146 0.1273)
OKLCHoklch(74.23% 0.128 96.5)
XYZxyz(37.9676, 41.0887, 10.6327)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB3F #3F57C3
analogous
#C3693F #C3AB3F #99C33F
triadic
#C3AB3F #3FC3AB #AB3FC3
tetradic
#C3AB3F #3FC369 #3F57C3 #C33F99
square
#C3AB3F #3FC369 #3F57C3 #C33F99
split-complementary
#C3AB3F #3F99C3 #693FC3
monochromatic
#675A20 #96832F #C3AB3F #D2BF6E #E0D49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AB3F#FFFFFF#000000##000000
##C3AB3F1.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)
#BCA731
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#D29E95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab3f;
/* rgb */ color: rgb(195, 171, 63);
/* oklch */ color: oklch(74.2% 0.128 96.5);
Tailwind
colors: {
  custom: {
    50: '#d9c37a',
    500: '#c3ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab3f;
$custom-light: #d9c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab3f",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 49.091,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74229,
    "c": 0.12817,
    "h": 96.5
  },
  "luminance": 0.41087
}

Semantic roles & 50–950 ramp

primary
#C3AB3F
secondary
#929CCC
accent
#66DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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