#C3AB3D#C3AB3D

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

Color values

HEX#C3AB3D
RGBrgb(195, 171, 61)
HSLhsl(49, 53%, 50%)
HSVhsv(49, 69%, 76%)
CMYKcmyk(0%, 12.3%, 68.7%, 23.5%)
CIE-LABlab(70.22, -3.59, 57.40)
CIE-LCHlch(70.22, 57.51, 93.58°)
OKLaboklab(74.21% -0.0151 0.1287)
OKLCHoklch(74.21% 0.13 96.7)
XYZxyz(37.9127, 41.0668, 10.3437)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB3D #3D55C3
analogous
#C3683D #C3AB3D #98C33D
triadic
#C3AB3D #3DC3AB #AB3DC3
tetradic
#C3AB3D #3DC368 #3D55C3 #C33D98
square
#C3AB3D #3DC368 #3D55C3 #C33D98
split-complementary
#C3AB3D #3D98C3 #683DC3
monochromatic
#665920 #95822E #C3AB3D #D1BF6C #E0D39A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AB3D#FFFFFF#000000##000000
##C3AB3D1.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)
#BCA72E
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab3d;
/* rgb */ color: rgb(195, 171, 61);
/* oklch */ color: oklch(74.2% 0.130 96.7);
Tailwind
colors: {
  custom: {
    50: '#d9c379',
    500: '#c3ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab3d;
$custom-light: #d9c379;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab3d",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 49.254,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74211,
    "c": 0.12961,
    "h": 96.7
  },
  "luminance": 0.41065
}

Semantic roles & 50–950 ramp

primary
#C3AB3D
secondary
#909BCC
accent
#66DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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