#C1AB34#C1AB34

#C1AB34 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.135 H 98.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#C1AB34
RGBrgb(193, 171, 52)
HSLhsl(51, 58%, 48%)
HSVhsv(51, 73%, 76%)
CMYKcmyk(0%, 11.4%, 73.1%, 24.3%)
CIE-LABlab(69.97, -4.92, 60.63)
CIE-LCHlch(69.97, 60.83, 94.64°)
OKLaboklab(73.95% -0.0198 0.134)
OKLCHoklch(73.95% 0.135 98.4)
XYZxyz(37.1769, 40.7131, 9.1483)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB34 #344AC1
analogous
#C16434 #C1AB34 #91C134
triadic
#C1AB34 #34C1AB #AB34C1
tetradic
#C1AB34 #34C164 #344AC1 #C13491
square
#C1AB34 #34C164 #344AC1 #C13491
split-complementary
#C1AB34 #3491C1 #6434C1
monochromatic
#61561A #918027 #C1AB34 #D4C15E #E1D48F

Accessibility & contrast

On white

2.30
#C1AB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#C1AB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AB34
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AB34#FFFFFF#000000##000000
##C1AB341.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1ab34;
/* rgb */ color: rgb(193, 171, 52);
/* oklch */ color: oklch(74.0% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#d8c374',
    500: '#c1ab34',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab34;
$custom-light: #d8c374;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab34",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 50.638,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73951,
    "c": 0.13546,
    "h": 98.4
  },
  "luminance": 0.40711
}

Semantic roles & 50–950 ramp

primary
#C1AB34
secondary
#8690CB
accent
#5FE147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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