#C1AF34#C1AF34

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

Color values

HEX#C1AF34
RGBrgb(193, 175, 52)
HSLhsl(52, 58%, 48%)
HSVhsv(52, 73%, 76%)
CMYKcmyk(0%, 9.3%, 73.1%, 24.3%)
CIE-LABlab(71.04, -7.02, 61.66)
CIE-LCHlch(71.04, 62.06, 96.49°)
OKLaboklab(74.8% -0.0257 0.1362)
OKLCHoklch(74.8% 0.139 100.7)
XYZxyz(37.9439, 42.2471, 9.4040)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF34 #3446C1
analogous
#C16834 #C1AF34 #8DC134
triadic
#C1AF34 #34C1AF #AF34C1
tetradic
#C1AF34 #34C168 #3446C1 #C1348D
square
#C1AF34 #34C168 #3446C1 #C1348D
split-complementary
#C1AF34 #348DC1 #6834C1
monochromatic
#61581A #918327 #C1AF34 #D4C55E #E1D68F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AF34#FFFFFF#000000##000000
##C1AF341.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)
#C0AA1F
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#D0A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af34;
/* rgb */ color: rgb(193, 175, 52);
/* oklch */ color: oklch(74.8% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#d8c674',
    500: '#c1af34',
    950: '#000000',
  },
}
SCSS
$custom: #c1af34;
$custom-light: #d8c674;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af34",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 52.34,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74797,
    "c": 0.13861,
    "h": 100.7
  },
  "luminance": 0.42245
}

Semantic roles & 50–950 ramp

primary
#C1AF34
secondary
#868ECB
accent
#5BE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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