#C4AF37#C4AF37

#C4AF37 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.137 H 99.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C4AF37
RGBrgb(196, 175, 55)
HSLhsl(51, 56%, 49%)
HSVhsv(51, 72%, 77%)
CMYKcmyk(0%, 10.7%, 71.9%, 23.1%)
CIE-LABlab(71.33, -5.57, 60.92)
CIE-LCHlch(71.33, 61.17, 95.22°)
OKLaboklab(75.1% -0.0215 0.1351)
OKLCHoklch(75.1% 0.137 99)
XYZxyz(38.7864, 42.6734, 9.8075)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AF37 #374CC4
analogous
#C46937 #C4AF37 #93C437
triadic
#C4AF37 #37C4AF #AF37C4
tetradic
#C4AF37 #37C469 #374CC4 #C43793
square
#C4AF37 #37C469 #374CC4 #C43793
split-complementary
#C4AF37 #3793C4 #6937C4
monochromatic
#645A1C #94842A #C4AF37 #D4C365 #E1D694

Accessibility & contrast

On white

2.20
#C4AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#C4AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AF37
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AF37#FFFFFF#000000##000000
##C4AF371.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#D3A297
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c4af37;
/* rgb */ color: rgb(196, 175, 55);
/* oklch */ color: oklch(75.1% 0.137 99.0);
Tailwind
colors: {
  custom: {
    50: '#dac676',
    500: '#c4af37',
    950: '#000000',
  },
}
SCSS
$custom: #c4af37;
$custom-light: #dac676;
$custom-dark: #000000;
JSON
{
  "hex": "#c4af37",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 51.064,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75099,
    "c": 0.13676,
    "h": 99
  },
  "luminance": 0.42672
}

Semantic roles & 50–950 ramp

primary
#C4AF37
secondary
#8B94CC
accent
#5FDF48
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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