#C1AB38#C1AB38

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

Color values

HEX#C1AB38
RGBrgb(193, 171, 56)
HSLhsl(50, 55%, 49%)
HSVhsv(50, 71%, 76%)
CMYKcmyk(0%, 11.4%, 71%, 24.3%)
CIE-LABlab(70.00, -4.72, 59.13)
CIE-LCHlch(70.00, 59.32, 94.57°)
OKLaboklab(73.98% -0.0188 0.1316)
OKLCHoklch(73.98% 0.133 98.1)
XYZxyz(37.2708, 40.7506, 9.6431)
Luminance0.4075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AB38 #384EC1
analogous
#C16738 #C1AB38 #93C138
triadic
#C1AB38 #38C1AB #AB38C1
tetradic
#C1AB38 #38C167 #384EC1 #C13893
square
#C1AB38 #38C167 #384EC1 #C13893
split-complementary
#C1AB38 #3893C1 #6738C1
monochromatic
#62571C #92812A #C1AB38 #D2C064 #E0D494

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AB38#FFFFFF#000000##000000
##C1AB381.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)
#BCA727
Deuteranopia (green-blind)
#C2AE3F
Tritanopia (blue-blind)
#D09E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c1ab38;
/* rgb */ color: rgb(193, 171, 56);
/* oklch */ color: oklch(74.0% 0.133 98.1);
Tailwind
colors: {
  custom: {
    50: '#d7c376',
    500: '#c1ab38',
    950: '#000000',
  },
}
SCSS
$custom: #c1ab38;
$custom-light: #d7c376;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ab38",
  "rgb": {
    "r": 193,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 50.365,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73981,
    "c": 0.1329,
    "h": 98.1
  },
  "luminance": 0.40749
}

Semantic roles & 50–950 ramp

primary
#C1AB38
secondary
#8A94CB
accent
#61DE49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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