#C3AF37#C3AF37

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

Color values

HEX#C3AF37
RGBrgb(195, 175, 55)
HSLhsl(51, 56%, 49%)
HSVhsv(51, 72%, 76%)
CMYKcmyk(0%, 10.3%, 71.8%, 23.5%)
CIE-LABlab(71.24, -6.00, 60.80)
CIE-LCHlch(71.24, 61.10, 95.64°)
OKLaboklab(75.01% -0.0226 0.1349)
OKLCHoklch(75.01% 0.137 99.5)
XYZxyz(38.5271, 42.5397, 9.7953)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF37 #374BC3
analogous
#C36937 #C3AF37 #91C337
triadic
#C3AF37 #37C3AF #AF37C3
tetradic
#C3AF37 #37C369 #374BC3 #C33791
square
#C3AF37 #37C369 #374BC3 #C33791
split-complementary
#C3AF37 #3791C3 #6937C3
monochromatic
#64591C #93842A #C3AF37 #D3C364 #E1D694

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AF37#FFFFFF#000000##000000
##C3AF371.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)
#C0AA24
Deuteranopia (green-blind)
#C5B23F
Tritanopia (blue-blind)
#D2A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c3af37;
/* rgb */ color: rgb(195, 175, 55);
/* oklch */ color: oklch(75.0% 0.137 99.5);
Tailwind
colors: {
  custom: {
    50: '#d9c676',
    500: '#c3af37',
    950: '#000000',
  },
}
SCSS
$custom: #c3af37;
$custom-light: #d9c676;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af37",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 51.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75005,
    "c": 0.13674,
    "h": 99.5
  },
  "luminance": 0.42538
}

Semantic roles & 50–950 ramp

primary
#C3AF37
secondary
#8A93CC
accent
#5EDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C3AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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