#C1AB39#C1AB39

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

Color values

HEX#C1AB39
RGBrgb(193, 171, 57)
HSLhsl(50, 54%, 49%)
HSVhsv(50, 70%, 76%)
CMYKcmyk(0%, 11.4%, 70.5%, 24.3%)
CIE-LABlab(70.01, -4.67, 58.74)
CIE-LCHlch(70.01, 58.93, 94.55°)
OKLaboklab(73.99% -0.0185 0.1309)
OKLCHoklch(73.99% 0.132 98.1)
XYZxyz(37.2955, 40.7605, 9.7732)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB39 #394FC1
analogous
#C16739 #C1AB39 #93C139
triadic
#C1AB39 #39C1AB #AB39C1
tetradic
#C1AB39 #39C167 #394FC1 #C13993
square
#C1AB39 #39C167 #394FC1 #C13993
split-complementary
#C1AB39 #3993C1 #6739C1
monochromatic
#63571D #92812B #C1AB39 #D2C066 #E0D495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AB39#FFFFFF#000000##000000
##C1AB391.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1ab39;
/* rgb */ color: rgb(193, 171, 57);
/* oklch */ color: oklch(74.0% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#d7c376',
    500: '#c1ab39',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab39;
$custom-light: #d7c376;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab39",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 50.294,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73988,
    "c": 0.13223,
    "h": 98.1
  },
  "luminance": 0.40759
}

Semantic roles & 50–950 ramp

primary
#C1AB39
secondary
#8B95CB
accent
#62DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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