#C1AB42#C1AB42

#C1AB42 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.126 H 97.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C1AB42
RGBrgb(193, 171, 66)
HSLhsl(50, 51%, 51%)
HSVhsv(50, 66%, 76%)
CMYKcmyk(0%, 11.4%, 65.8%, 24.3%)
CIE-LABlab(70.08, -4.17, 55.08)
CIE-LCHlch(70.08, 55.24, 94.33°)
OKLaboklab(74.07% -0.0161 0.1247)
OKLCHoklch(74.07% 0.126 97.3)
XYZxyz(37.5403, 40.8584, 11.0623)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB42 #4258C1
analogous
#C16B42 #C1AB42 #98C142
triadic
#C1AB42 #42C1AB #AB42C1
tetradic
#C1AB42 #42C16B #4258C1 #C14298
square
#C1AB42 #42C16B #4258C1 #C14298
split-complementary
#C1AB42 #4298C1 #6B42C1
monochromatic
#675B22 #958431 #C1AB42 #D0BF70 #DFD49E

Accessibility & contrast

On white

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

On black

9.17
#C1AB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AB42
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AB42#FFFFFF#000000##000000
##C1AB421.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1ab42;
/* rgb */ color: rgb(193, 171, 66);
/* oklch */ color: oklch(74.1% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#d7c37b',
    500: '#c1ab42',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab42;
$custom-light: #d7c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab42",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 49.606,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74065,
    "c": 0.12575,
    "h": 97.3
  },
  "luminance": 0.40857
}

Semantic roles & 50–950 ramp

primary
#C1AB42
secondary
#939DCC
accent
#66DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C1AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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