#C1AF3C#C1AF3C

#C1AF3C 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.46:1 contrast (WCAG AA passes).

Color values

HEX#C1AF3C
RGBrgb(193, 175, 60)
HSLhsl(52, 53%, 50%)
HSVhsv(52, 69%, 76%)
CMYKcmyk(0%, 9.3%, 68.9%, 24.3%)
CIE-LABlab(71.09, -6.62, 58.64)
CIE-LCHlch(71.09, 59.01, 96.44°)
OKLaboklab(74.86% -0.0237 0.1312)
OKLCHoklch(74.86% 0.133 100.2)
XYZxyz(38.1396, 42.3254, 10.4347)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF3C #3C4EC1
analogous
#C16D3C #C1AF3C #90C13C
triadic
#C1AF3C #3CC1AF #AF3CC1
tetradic
#C1AF3C #3CC16D #3C4EC1 #C13C90
square
#C1AF3C #3CC16D #3C4EC1 #C13C90
split-complementary
#C1AF3C #3C90C1 #6D3CC1
monochromatic
#645A1F #92852D #C1AF3C #D1C36A #DFD698

Accessibility & contrast

On white

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

On black

9.46
#C1AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AF3C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AF3C#FFFFFF#000000##000000
##C1AF3C1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1af3c;
/* rgb */ color: rgb(193, 175, 60);
/* oklch */ color: oklch(74.9% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#d7c678',
    500: '#c1af3c',
    950: '#000000',
  },
}
SCSS
$custom: #c1af3c;
$custom-light: #d7c678;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af3c",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 51.88,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74857,
    "c": 0.13337,
    "h": 100.2
  },
  "luminance": 0.42324
}

Semantic roles & 50–950 ramp

primary
#C1AF3C
secondary
#8E96CB
accent
#5FDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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