#C1AB3F#C1AB3F

#C1AB3F is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.128 H 97.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C1AB3F
RGBrgb(193, 171, 63)
HSLhsl(50, 51%, 50%)
HSVhsv(50, 67%, 76%)
CMYKcmyk(0%, 11.4%, 67.4%, 24.3%)
CIE-LABlab(70.05, -4.35, 56.34)
CIE-LCHlch(70.05, 56.50, 94.41°)
OKLaboklab(74.04% -0.0169 0.1269)
OKLCHoklch(74.04% 0.128 97.6)
XYZxyz(37.4542, 40.8240, 10.6086)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB3F #3F55C1
analogous
#C16A3F #C1AB3F #96C13F
triadic
#C1AB3F #3FC1AB #AB3FC1
tetradic
#C1AB3F #3FC16A #3F55C1 #C13F96
square
#C1AB3F #3FC16A #3F55C1 #C13F96
split-complementary
#C1AB3F #3F96C1 #6A3FC1
monochromatic
#655921 #938230 #C1AB3F #D0BF6D #DFD39C

Accessibility & contrast

On white

2.29
#C1AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#C1AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AB3F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AB3F#FFFFFF#000000##000000
##C1AB3F1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#D09F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c1ab3f;
/* rgb */ color: rgb(193, 171, 63);
/* oklch */ color: oklch(74.0% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#d7c37a',
    500: '#c1ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab3f;
$custom-light: #d7c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab3f",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 49.846,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74038,
    "c": 0.128,
    "h": 97.6
  },
  "luminance": 0.40822
}

Semantic roles & 50–950 ramp

primary
#C1AB3F
secondary
#919BCB
accent
#65DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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