#C3AB36#C3AB36

#C3AB36 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#C3AB36
RGBrgb(195, 171, 54)
HSLhsl(50, 57%, 49%)
HSVhsv(50, 72%, 76%)
CMYKcmyk(0%, 12.3%, 72.3%, 23.5%)
CIE-LABlab(70.17, -3.95, 60.14)
CIE-LCHlch(70.17, 60.26, 93.76°)
OKLaboklab(74.16% -0.0169 0.1333)
OKLCHoklch(74.16% 0.134 97.2)
XYZxyz(37.7363, 40.9962, 9.4147)
Luminance0.4099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB36 #364EC3
analogous
#C36536 #C3AB36 #95C336
triadic
#C3AB36 #36C3AB #AB36C3
tetradic
#C3AB36 #36C365 #364EC3 #C33695
square
#C3AB36 #36C365 #364EC3 #C33695
split-complementary
#C3AB36 #3695C3 #6536C3
monochromatic
#63571B #938129 #C3AB36 #D4C063 #E1D492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AB36#FFFFFF#000000##000000
##C3AB361.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)
#BCA723
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab36;
/* rgb */ color: rgb(195, 171, 54);
/* oklch */ color: oklch(74.2% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#d9c375',
    500: '#c3ab36',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab36;
$custom-light: #d9c375;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab36",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 49.787,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74157,
    "c": 0.13432,
    "h": 97.2
  },
  "luminance": 0.40994
}

Semantic roles & 50–950 ramp

primary
#C3AB36
secondary
#8994CC
accent
#62E048
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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