#C1AF3B#C1AF3B

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

Color values

HEX#C1AF3B
RGBrgb(193, 175, 59)
HSLhsl(52, 53%, 49%)
HSVhsv(52, 69%, 76%)
CMYKcmyk(0%, 9.3%, 69.4%, 24.3%)
CIE-LABlab(71.09, -6.67, 59.03)
CIE-LCHlch(71.09, 59.41, 96.45°)
OKLaboklab(74.85% -0.024 0.1319)
OKLCHoklch(74.85% 0.134 100.3)
XYZxyz(38.1134, 42.3149, 10.2968)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF3B #3B4DC1
analogous
#C16C3B #C1AF3B #90C13B
triadic
#C1AF3B #3BC1AF #AF3BC1
tetradic
#C1AF3B #3BC16C #3B4DC1 #C13B90
square
#C1AF3B #3BC16C #3B4DC1 #C13B90
split-complementary
#C1AF3B #3B90C1 #6C3BC1
monochromatic
#635A1E #92852D #C1AF3B #D1C368 #DFD697

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AF3B#FFFFFF#000000##000000
##C1AF3B1.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)
#BFAA2A
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#D0A298
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af3b;
/* rgb */ color: rgb(193, 175, 59);
/* oklch */ color: oklch(74.8% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#d7c678',
    500: '#c1af3b',
    950: '#000000',
  },
}
SCSS
$custom: #c1af3b;
$custom-light: #d7c678;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af3b",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 51.94,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74849,
    "c": 0.13405,
    "h": 100.3
  },
  "luminance": 0.42313
}

Semantic roles & 50–950 ramp

primary
#C1AF3B
secondary
#8D95CB
accent
#5FDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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