#C3AB38#C3AB38

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

Color values

HEX#C3AB38
RGBrgb(195, 171, 56)
HSLhsl(50, 55%, 49%)
HSVhsv(50, 71%, 76%)
CMYKcmyk(0%, 12.3%, 71.3%, 23.5%)
CIE-LABlab(70.19, -3.85, 59.37)
CIE-LCHlch(70.19, 59.50, 93.71°)
OKLaboklab(74.17% -0.0164 0.132)
OKLCHoklch(74.17% 0.133 97.1)
XYZxyz(37.7843, 41.0154, 9.6672)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB38 #3850C3
analogous
#C36638 #C3AB38 #96C338
triadic
#C3AB38 #38C3AB #AB38C3
tetradic
#C3AB38 #38C366 #3850C3 #C33896
square
#C3AB38 #38C366 #3850C3 #C33896
split-complementary
#C3AB38 #3896C3 #6638C3
monochromatic
#64581D #93812A #C3AB38 #D3C065 #E1D395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AB38#FFFFFF#000000##000000
##C3AB381.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)
#BCA727
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab38;
/* rgb */ color: rgb(195, 171, 56);
/* oklch */ color: oklch(74.2% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#d9c376',
    500: '#c3ab38',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab38;
$custom-light: #d9c376;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab38",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 49.64,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74172,
    "c": 0.13303,
    "h": 97.1
  },
  "luminance": 0.41013
}

Semantic roles & 50–950 ramp

primary
#C3AB38
secondary
#8B96CC
accent
#63DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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