#C3AF34#C3AF34

#C3AF34 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.139 H 99.7°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#C3AF34
RGBrgb(195, 175, 52)
HSLhsl(52, 58%, 48%)
HSVhsv(52, 73%, 76%)
CMYKcmyk(0%, 10.3%, 73.3%, 23.5%)
CIE-LABlab(71.22, -6.14, 61.90)
CIE-LCHlch(71.22, 62.21, 95.67°)
OKLaboklab(74.98% -0.0234 0.1366)
OKLCHoklch(74.98% 0.139 99.7)
XYZxyz(38.4573, 42.5118, 9.4281)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF34 #3448C3
analogous
#C36734 #C3AF34 #8FC334
triadic
#C3AF34 #34C3AF #AF34C3
tetradic
#C3AF34 #34C367 #3448C3 #C3348F
square
#C3AF34 #34C367 #3448C3 #C3348F
split-complementary
#C3AF34 #348FC3 #6734C3
monochromatic
#62581A #938427 #C3AF34 #D5C460 #E1D690

Accessibility & contrast

On white

2.21
#C3AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#C3AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AF34
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AF34#FFFFFF#000000##000000
##C3AF341.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1F
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#D2A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c3af34;
/* rgb */ color: rgb(195, 175, 52);
/* oklch */ color: oklch(75.0% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#d9c674',
    500: '#c3af34',
    950: '#000000',
  },
}
SCSS
$custom: #c3af34;
$custom-light: #d9c674;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af34",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 51.608,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74984,
    "c": 0.1386,
    "h": 99.7
  },
  "luminance": 0.4251
}

Semantic roles & 50–950 ramp

primary
#C3AF34
secondary
#8790CC
accent
#5CE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C3AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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