#C1AB3B#C1AB3B

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

Color values

HEX#C1AB3B
RGBrgb(193, 171, 59)
HSLhsl(50, 53%, 49%)
HSVhsv(50, 69%, 76%)
CMYKcmyk(0%, 11.4%, 69.4%, 24.3%)
CIE-LABlab(70.02, -4.57, 57.95)
CIE-LCHlch(70.02, 58.13, 94.51°)
OKLaboklab(74% -0.018 0.1296)
OKLCHoklch(74% 0.131 97.9)
XYZxyz(37.3464, 40.7809, 10.0412)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB3B #3B51C1
analogous
#C1683B #C1AB3B #94C13B
triadic
#C1AB3B #3BC1AB #AB3BC1
tetradic
#C1AB3B #3BC168 #3B51C1 #C13B94
square
#C1AB3B #3BC168 #3B51C1 #C13B94
split-complementary
#C1AB3B #3B94C1 #683BC1
monochromatic
#63581E #92812D #C1AB3B #D1C068 #DFD397

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AB3B#FFFFFF#000000##000000
##C1AB3B1.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)
#BCA72B
Deuteranopia (green-blind)
#C2AE41
Tritanopia (blue-blind)
#D09E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c1ab3b;
/* rgb */ color: rgb(193, 171, 59);
/* oklch */ color: oklch(74.0% 0.131 97.9);
Tailwind
colors: {
  custom: {
    50: '#d7c377',
    500: '#c1ab3b',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab3b;
$custom-light: #d7c377;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab3b",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 50.149,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.13087,
    "h": 97.9
  },
  "luminance": 0.40779
}

Semantic roles & 50–950 ramp

primary
#C1AB3B
secondary
#8D97CB
accent
#63DD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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