#C1AF3D#C1AF3D

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

Color values

HEX#C1AF3D
RGBrgb(193, 175, 61)
HSLhsl(52, 52%, 50%)
HSVhsv(52, 68%, 76%)
CMYKcmyk(0%, 9.3%, 68.4%, 24.3%)
CIE-LABlab(71.10, -6.56, 58.24)
CIE-LCHlch(71.10, 58.61, 96.43°)
OKLaboklab(74.87% -0.0235 0.1306)
OKLCHoklch(74.87% 0.133 100.2)
XYZxyz(38.1663, 42.3360, 10.5753)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF3D #3D4FC1
analogous
#C16D3D #C1AF3D #91C13D
triadic
#C1AF3D #3DC1AF #AF3DC1
tetradic
#C1AF3D #3DC16D #3D4FC1 #C13D91
square
#C1AF3D #3DC16D #3D4FC1 #C13D91
split-complementary
#C1AF3D #3D91C1 #6D3DC1
monochromatic
#645B20 #92852E #C1AF3D #D0C26B #DFD599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AF3D#FFFFFF#000000##000000
##C1AF3D1.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)
#BFAA2D
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#D0A398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af3d;
/* rgb */ color: rgb(193, 175, 61);
/* oklch */ color: oklch(74.9% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#d7c679',
    500: '#c1af3d',
    950: '#000000',
  },
}
SCSS
$custom: #c1af3d;
$custom-light: #d7c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af3d",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 51.818,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74865,
    "c": 0.13266,
    "h": 100.2
  },
  "luminance": 0.42334
}

Semantic roles & 50–950 ramp

primary
#C1AF3D
secondary
#8F97CB
accent
#60DB4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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