#C1AB40#C1AB40

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

Color values

HEX#C1AB40
RGBrgb(193, 171, 64)
HSLhsl(50, 51%, 50%)
HSVhsv(50, 67%, 76%)
CMYKcmyk(0%, 11.4%, 66.8%, 24.3%)
CIE-LABlab(70.06, -4.29, 55.92)
CIE-LCHlch(70.06, 56.09, 94.38°)
OKLaboklab(74.05% -0.0166 0.1262)
OKLCHoklch(74.05% 0.127 97.5)
XYZxyz(37.4824, 40.8353, 10.7572)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB40 #4056C1
analogous
#C16A40 #C1AB40 #97C140
triadic
#C1AB40 #40C1AB #AB40C1
tetradic
#C1AB40 #40C16A #4056C1 #C14097
square
#C1AB40 #40C16A #4056C1 #C14097
split-complementary
#C1AB40 #4097C1 #6A40C1
monochromatic
#665A21 #948330 #C1AB40 #D0BF6E #DFD49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AB40#FFFFFF#000000##000000
##C1AB401.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)
#BBA732
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#D09F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c1ab40;
/* rgb */ color: rgb(193, 171, 64);
/* oklch */ color: oklch(74.0% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#d7c37a',
    500: '#c1ab40',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab40;
$custom-light: #d7c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab40",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 49.767,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74047,
    "c": 0.12726,
    "h": 97.5
  },
  "luminance": 0.40833
}

Semantic roles & 50–950 ramp

primary
#C1AB40
secondary
#929BCB
accent
#65DA4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C1AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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