#C3AF3A#C3AF3A

#C3AF3A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.0% C 0.135 H 99.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#C3AF3A
RGBrgb(195, 175, 58)
HSLhsl(51, 54%, 50%)
HSVhsv(51, 70%, 76%)
CMYKcmyk(0%, 10.3%, 70.3%, 23.5%)
CIE-LABlab(71.26, -5.85, 59.66)
CIE-LCHlch(71.26, 59.95, 95.60°)
OKLaboklab(75.03% -0.0219 0.133)
OKLCHoklch(75.03% 0.135 99.4)
XYZxyz(38.6012, 42.5694, 10.1856)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF3A #3A4EC3
analogous
#C36B3A #C3AF3A #93C33A
triadic
#C3AF3A #3AC3AF #AF3AC3
tetradic
#C3AF3A #3AC36B #3A4EC3 #C33A93
square
#C3AF3A #3AC36B #3A4EC3 #C33A93
split-complementary
#C3AF3A #3A93C3 #6B3AC3
monochromatic
#655A1E #94852C #C3AF3A #D2C368 #E0D697

Accessibility & contrast

On white

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

On black

9.51
#C3AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AF3A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AF3A#FFFFFF#000000##000000
##C3AF3A1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA29
Deuteranopia (green-blind)
#C5B241
Tritanopia (blue-blind)
#D2A298
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c3af3a;
/* rgb */ color: rgb(195, 175, 58);
/* oklch */ color: oklch(75.0% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#d9c677',
    500: '#c3af3a',
    950: '#000000',
  },
}
SCSS
$custom: #c3af3a;
$custom-light: #d9c677;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af3a",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 51.241,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75028,
    "c": 0.13477,
    "h": 99.4
  },
  "luminance": 0.42568
}

Semantic roles & 50–950 ramp

primary
#C3AF3A
secondary
#8D96CC
accent
#60DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C3AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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