#C3AB37#C3AB37

#C3AB37 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.134 H 97.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#C3AB37
RGBrgb(195, 171, 55)
HSLhsl(50, 56%, 49%)
HSVhsv(50, 72%, 76%)
CMYKcmyk(0%, 12.3%, 71.8%, 23.5%)
CIE-LABlab(70.18, -3.90, 59.76)
CIE-LCHlch(70.18, 59.88, 93.73°)
OKLaboklab(74.16% -0.0167 0.1326)
OKLCHoklch(74.16% 0.134 97.2)
XYZxyz(37.7600, 41.0057, 9.5397)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB37 #374FC3
analogous
#C36537 #C3AB37 #95C337
triadic
#C3AB37 #37C3AB #AB37C3
tetradic
#C3AB37 #37C365 #374FC3 #C33795
square
#C3AB37 #37C365 #374FC3 #C33795
split-complementary
#C3AB37 #3795C3 #6537C3
monochromatic
#64571C #93812A #C3AB37 #D3C064 #E1D494

Accessibility & contrast

On white

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

On black

9.20
#C3AB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AB37
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AB37#FFFFFF#000000##000000
##C3AB371.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab37;
/* rgb */ color: rgb(195, 171, 55);
/* oklch */ color: oklch(74.2% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#d9c375',
    500: '#c3ab37',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab37;
$custom-light: #d9c375;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab37",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 49.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74164,
    "c": 0.13368,
    "h": 97.2
  },
  "luminance": 0.41004
}

Semantic roles & 50–950 ramp

primary
#C3AB37
secondary
#8A95CC
accent
#62DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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