#C1AF3A#C1AF3A

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

Color values

HEX#C1AF3A
RGBrgb(193, 175, 58)
HSLhsl(52, 54%, 49%)
HSVhsv(52, 70%, 76%)
CMYKcmyk(0%, 9.3%, 69.9%, 24.3%)
CIE-LABlab(71.08, -6.72, 59.42)
CIE-LCHlch(71.08, 59.80, 96.45°)
OKLaboklab(74.84% -0.0242 0.1325)
OKLCHoklch(74.84% 0.135 100.4)
XYZxyz(38.0877, 42.3046, 10.1615)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF3A #3A4CC1
analogous
#C16C3A #C1AF3A #90C13A
triadic
#C1AF3A #3AC1AF #AF3AC1
tetradic
#C1AF3A #3AC16C #3A4CC1 #C13A90
square
#C1AF3A #3AC16C #3A4CC1 #C13A90
split-complementary
#C1AF3A #3A90C1 #6C3AC1
monochromatic
#635A1E #92842C #C1AF3A #D1C367 #DFD696

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AF3A#FFFFFF#000000##000000
##C1AF3A1.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)
#BFAA29
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#D0A298
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af3a;
/* rgb */ color: rgb(193, 175, 58);
/* oklch */ color: oklch(74.8% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#d7c677',
    500: '#c1af3a',
    950: '#000000',
  },
}
SCSS
$custom: #c1af3a;
$custom-light: #d7c677;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af3a",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 52,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74841,
    "c": 0.13474,
    "h": 100.4
  },
  "luminance": 0.42303
}

Semantic roles & 50–950 ramp

primary
#C1AF3A
secondary
#8C94CB
accent
#5EDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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