#C5AB39#C5AB39

#C5AB39 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.133 H 96.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#C5AB39
RGBrgb(197, 171, 57)
HSLhsl(49, 55%, 50%)
HSVhsv(49, 71%, 77%)
CMYKcmyk(0%, 13.2%, 71.1%, 22.7%)
CIE-LABlab(70.38, -2.93, 59.24)
CIE-LCHlch(70.38, 59.31, 92.83°)
OKLaboklab(74.37% -0.0138 0.1318)
OKLCHoklch(74.37% 0.133 96)
XYZxyz(38.3293, 41.2936, 9.8217)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AB39 #3953C5
analogous
#C56539 #C5AB39 #99C539
triadic
#C5AB39 #39C5AB #AB39C5
tetradic
#C5AB39 #39C565 #3953C5 #C53999
square
#C5AB39 #39C565 #3953C5 #C53999
split-complementary
#C5AB39 #3999C5 #6539C5
monochromatic
#66591E #96822B #C5AB39 #D3BF68 #E1D397

Accessibility & contrast

On white

2.27
#C5AB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#C5AB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AB39
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AB39#FFFFFF#000000##000000
##C5AB391.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#D59E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c5ab39;
/* rgb */ color: rgb(197, 171, 57);
/* oklch */ color: oklch(74.4% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#dac376',
    500: '#c5ab39',
    950: '#000000',
  },
}
SCSS
$custom: #c5ab39;
$custom-light: #dac376;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ab39",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 48.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74372,
    "c": 0.13255,
    "h": 96
  },
  "luminance": 0.41292
}

Semantic roles & 50–950 ramp

primary
#C5AB39
secondary
#8D99CD
accent
#65DE49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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