#C3AB34#C3AB34

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

Color values

HEX#C3AB34
RGBrgb(195, 171, 52)
HSLhsl(50, 58%, 48%)
HSVhsv(50, 73%, 76%)
CMYKcmyk(0%, 12.3%, 73.3%, 23.5%)
CIE-LABlab(70.16, -4.04, 60.88)
CIE-LCHlch(70.16, 61.01, 93.80°)
OKLaboklab(74.14% -0.0174 0.1344)
OKLCHoklch(74.14% 0.136 97.4)
XYZxyz(37.6903, 40.9778, 9.1724)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB34 #344CC3
analogous
#C36334 #C3AB34 #93C334
triadic
#C3AB34 #34C3AB #AB34C3
tetradic
#C3AB34 #34C363 #344CC3 #C33493
square
#C3AB34 #34C363 #344CC3 #C33493
split-complementary
#C3AB34 #3493C3 #6334C3
monochromatic
#62561A #938127 #C3AB34 #D5C160 #E1D490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AB34#FFFFFF#000000##000000
##C3AB341.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)
#BCA720
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c3ab34;
/* rgb */ color: rgb(195, 171, 52);
/* oklch */ color: oklch(74.1% 0.136 97.4);
Tailwind
colors: {
  custom: {
    50: '#d9c374',
    500: '#c3ab34',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab34;
$custom-light: #d9c374;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab34",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 49.93,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74142,
    "c": 0.13557,
    "h": 97.4
  },
  "luminance": 0.40976
}

Semantic roles & 50–950 ramp

primary
#C3AB34
secondary
#8792CC
accent
#61E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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