#C1AF37#C1AF37

#C1AF37 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.137 H 100.5°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#C1AF37
RGBrgb(193, 175, 55)
HSLhsl(52, 56%, 49%)
HSVhsv(52, 72%, 76%)
CMYKcmyk(0%, 9.3%, 71.5%, 24.3%)
CIE-LABlab(71.06, -6.87, 60.56)
CIE-LCHlch(71.06, 60.95, 96.47°)
OKLaboklab(74.82% -0.025 0.1344)
OKLCHoklch(74.82% 0.137 100.5)
XYZxyz(38.0136, 42.2750, 9.7713)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF37 #3749C1
analogous
#C16A37 #C1AF37 #8EC137
triadic
#C1AF37 #37C1AF #AF37C1
tetradic
#C1AF37 #37C16A #3749C1 #C1378E
square
#C1AF37 #37C16A #3749C1 #C1378E
split-complementary
#C1AF37 #378EC1 #6A37C1
monochromatic
#62591C #918429 #C1AF37 #D2C463 #E0D692

Accessibility & contrast

On white

2.22
#C1AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#C1AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AF37
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AF37#FFFFFF#000000##000000
##C1AF371.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#D0A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af37;
/* rgb */ color: rgb(193, 175, 55);
/* oklch */ color: oklch(74.8% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#d7c676',
    500: '#c1af37',
    950: '#000000',
  },
}
SCSS
$custom: #c1af37;
$custom-light: #d7c676;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af37",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 52.174,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74818,
    "c": 0.13672,
    "h": 100.5
  },
  "luminance": 0.42273
}

Semantic roles & 50–950 ramp

primary
#C1AF37
secondary
#8991CB
accent
#5CDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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