#C1AB3A#C1AB3A

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

Color values

HEX#C1AB3A
RGBrgb(193, 171, 58)
HSLhsl(50, 54%, 49%)
HSVhsv(50, 70%, 76%)
CMYKcmyk(0%, 11.4%, 69.9%, 24.3%)
CIE-LABlab(70.01, -4.62, 58.35)
CIE-LCHlch(70.01, 58.53, 94.53°)
OKLaboklab(74% -0.0183 0.1303)
OKLCHoklch(74% 0.132 98)
XYZxyz(37.3207, 40.7706, 9.9059)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB3A #3A50C1
analogous
#C1683A #C1AB3A #94C13A
triadic
#C1AB3A #3AC1AB #AB3AC1
tetradic
#C1AB3A #3AC168 #3A50C1 #C13A94
square
#C1AB3A #3AC168 #3A50C1 #C13A94
split-complementary
#C1AB3A #3A94C1 #683AC1
monochromatic
#63581E #92812C #C1AB3A #D1C067 #DFD396

Accessibility & contrast

On white

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

On black

9.15
#C1AB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AB3A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AB3A#FFFFFF#000000##000000
##C1AB3A1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C2AE41
Tritanopia (blue-blind)
#D09E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c1ab3a;
/* rgb */ color: rgb(193, 171, 58);
/* oklch */ color: oklch(74.0% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#d7c377',
    500: '#c1ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab3a;
$custom-light: #d7c377;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab3a",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 50.222,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73996,
    "c": 0.13156,
    "h": 98
  },
  "luminance": 0.40769
}

Semantic roles & 50–950 ramp

primary
#C1AB3A
secondary
#8C96CB
accent
#63DD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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