#C1AB3D#C1AB3D

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

Color values

HEX#C1AB3D
RGBrgb(193, 171, 61)
HSLhsl(50, 52%, 50%)
HSVhsv(50, 68%, 76%)
CMYKcmyk(0%, 11.4%, 68.4%, 24.3%)
CIE-LABlab(70.04, -4.46, 57.15)
CIE-LCHlch(70.04, 57.33, 94.46°)
OKLaboklab(74.02% -0.0175 0.1283)
OKLCHoklch(74.02% 0.129 97.8)
XYZxyz(37.3993, 40.8020, 10.3196)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB3D #3D53C1
analogous
#C1693D #C1AB3D #95C13D
triadic
#C1AB3D #3DC1AB #AB3DC1
tetradic
#C1AB3D #3DC169 #3D53C1 #C13D95
square
#C1AB3D #3DC169 #3D53C1 #C13D95
split-complementary
#C1AB3D #3D95C1 #693DC1
monochromatic
#645920 #92822E #C1AB3D #D0BF6B #DFD399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AB3D#FFFFFF#000000##000000
##C1AB3D1.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)
#BCA72E
Deuteranopia (green-blind)
#C1AE43
Tritanopia (blue-blind)
#D09E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c1ab3d;
/* rgb */ color: rgb(193, 171, 61);
/* oklch */ color: oklch(74.0% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#d7c378',
    500: '#c1ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab3d;
$custom-light: #d7c378;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab3d",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 50,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74021,
    "c": 0.12946,
    "h": 97.8
  },
  "luminance": 0.408
}

Semantic roles & 50–950 ramp

primary
#C1AB3D
secondary
#8F99CB
accent
#64DB4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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