#C1AB37#C1AB37

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

Color values

HEX#C1AB37
RGBrgb(193, 171, 55)
HSLhsl(50, 56%, 49%)
HSVhsv(50, 72%, 76%)
CMYKcmyk(0%, 11.4%, 71.5%, 24.3%)
CIE-LABlab(69.99, -4.77, 59.51)
CIE-LCHlch(69.99, 59.70, 94.58°)
OKLaboklab(73.97% -0.019 0.1322)
OKLCHoklch(73.97% 0.134 98.2)
XYZxyz(37.2466, 40.7410, 9.5156)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB37 #374DC1
analogous
#C16637 #C1AB37 #92C137
triadic
#C1AB37 #37C1AB #AB37C1
tetradic
#C1AB37 #37C166 #374DC1 #C13792
square
#C1AB37 #37C166 #374DC1 #C13792
split-complementary
#C1AB37 #3792C1 #6637C1
monochromatic
#62571C #918129 #C1AB37 #D2C163 #E0D492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AB37#FFFFFF#000000##000000
##C1AB371.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1ab37;
/* rgb */ color: rgb(193, 171, 55);
/* oklch */ color: oklch(74.0% 0.134 98.2);
Tailwind
colors: {
  custom: {
    50: '#d7c375',
    500: '#c1ab37',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab37;
$custom-light: #d7c375;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab37",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 50.435,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73973,
    "c": 0.13355,
    "h": 98.2
  },
  "luminance": 0.40739
}

Semantic roles & 50–950 ramp

primary
#C1AB37
secondary
#8993CB
accent
#61DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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