#C1AB3C#C1AB3C

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

Color values

HEX#C1AB3C
RGBrgb(193, 171, 60)
HSLhsl(50, 53%, 50%)
HSVhsv(50, 69%, 76%)
CMYKcmyk(0%, 11.4%, 68.9%, 24.3%)
CIE-LABlab(70.03, -4.51, 57.56)
CIE-LCHlch(70.03, 57.73, 94.48°)
OKLaboklab(74.01% -0.0177 0.129)
OKLCHoklch(74.01% 0.13 97.8)
XYZxyz(37.3726, 40.7913, 10.1791)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB3C #3C52C1
analogous
#C1683C #C1AB3C #95C13C
triadic
#C1AB3C #3CC1AB #AB3CC1
tetradic
#C1AB3C #3CC168 #3C52C1 #C13C95
square
#C1AB3C #3CC168 #3C52C1 #C13C95
split-complementary
#C1AB3C #3C95C1 #683CC1
monochromatic
#64581F #92822D #C1AB3C #D1C06A #DFD398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AB3C#FFFFFF#000000##000000
##C1AB3C1.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)
#BCA72D
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#D09E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c1ab3c;
/* rgb */ color: rgb(193, 171, 60);
/* oklch */ color: oklch(74.0% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#d7c378',
    500: '#c1ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab3c;
$custom-light: #d7c378;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab3c",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 50.075,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74012,
    "c": 0.13017,
    "h": 97.8
  },
  "luminance": 0.4079
}

Semantic roles & 50–950 ramp

primary
#C1AB3C
secondary
#8E98CB
accent
#64DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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