#C3AA34#C3AA34

#C3AA34 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.135 H 96.8°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C3AA34
RGBrgb(195, 170, 52)
HSLhsl(50, 58%, 48%)
HSVhsv(50, 73%, 76%)
CMYKcmyk(0%, 12.8%, 73.3%, 23.5%)
CIE-LABlab(69.90, -3.51, 60.62)
CIE-LCHlch(69.90, 60.72, 93.32°)
OKLaboklab(73.93% -0.0159 0.1339)
OKLCHoklch(73.93% 0.135 96.8)
XYZxyz(37.5021, 40.6015, 9.1097)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AA34 #344DC3
analogous
#C36234 #C3AA34 #95C334
triadic
#C3AA34 #34C3AA #AA34C3
tetradic
#C3AA34 #34C362 #344DC3 #C33495
square
#C3AA34 #34C362 #344DC3 #C33495
split-complementary
#C3AA34 #3495C3 #6234C3
monochromatic
#62561A #938027 #C3AA34 #D5C060 #E1D390

Accessibility & contrast

On white

2.30
#C3AA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#C3AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AA34
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AA34#FFFFFF#000000##000000
##C3AA341.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA620
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#D39D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c3aa34;
/* rgb */ color: rgb(195, 170, 52);
/* oklch */ color: oklch(73.9% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#d9c273',
    500: '#c3aa34',
    950: '#000000',
  },
}
SCSS
$custom: #c3aa34;
$custom-light: #d9c273;
$custom-dark: #000000;
JSON
{
  "hex": "#c3aa34",
  "rgb": {
    "r": 195,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 49.51,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73933,
    "c": 0.13485,
    "h": 96.8
  },
  "luminance": 0.40599
}

Semantic roles & 50–950 ramp

primary
#C3AA34
secondary
#8793CC
accent
#62E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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