#C1AF3F#C1AF3F

#C1AF3F is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.131 H 100.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#C1AF3F
RGBrgb(193, 175, 63)
HSLhsl(52, 51%, 50%)
HSVhsv(52, 67%, 76%)
CMYKcmyk(0%, 9.3%, 67.4%, 24.3%)
CIE-LABlab(71.12, -6.45, 57.44)
CIE-LCHlch(71.12, 57.80, 96.41°)
OKLaboklab(74.88% -0.0229 0.1292)
OKLCHoklch(74.88% 0.131 100.1)
XYZxyz(38.2212, 42.3580, 10.8643)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF3F #3F51C1
analogous
#C16E3F #C1AF3F #92C13F
triadic
#C1AF3F #3FC1AF #AF3FC1
tetradic
#C1AF3F #3FC16E #3F51C1 #C13F92
square
#C1AF3F #3FC16E #3F51C1 #C13F92
split-complementary
#C1AF3F #3F92C1 #6E3FC1
monochromatic
#655C21 #938530 #C1AF3F #D0C26D #DFD69C

Accessibility & contrast

On white

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

On black

9.47
#C1AF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AF3F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AF3F#FFFFFF#000000##000000
##C1AF3F1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D0A398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af3f;
/* rgb */ color: rgb(193, 175, 63);
/* oklch */ color: oklch(74.9% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#d7c67a',
    500: '#c1af3f',
    950: '#000000',
  },
}
SCSS
$custom: #c1af3f;
$custom-light: #d7c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af3f",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 51.692,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74882,
    "c": 0.13123,
    "h": 100.1
  },
  "luminance": 0.42356
}

Semantic roles & 50–950 ramp

primary
#C1AF3F
secondary
#9199CB
accent
#61DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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