#C5AB41#C5AB41

#C5AB41 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.127 H 95.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#C5AB41
RGBrgb(197, 171, 65)
HSLhsl(48, 53%, 51%)
HSVhsv(48, 67%, 77%)
CMYKcmyk(0%, 13.2%, 67%, 22.7%)
CIE-LABlab(70.44, -2.50, 56.01)
CIE-LCHlch(70.44, 56.07, 92.55°)
OKLaboklab(74.44% -0.0116 0.1264)
OKLCHoklch(74.44% 0.127 95.3)
XYZxyz(38.5448, 41.3798, 10.9568)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AB41 #415BC5
analogous
#C56941 #C5AB41 #9DC541
triadic
#C5AB41 #41C5AB #AB41C5
tetradic
#C5AB41 #41C569 #415BC5 #C5419D
square
#C5AB41 #41C569 #415BC5 #C5419D
split-complementary
#C5AB41 #419DC5 #6941C5
monochromatic
#6B5C21 #9A852F #C5AB41 #D3C070 #E2D49F

Accessibility & contrast

On white

2.26
#C5AB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#C5AB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AB41
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AB41#FFFFFF#000000##000000
##C5AB411.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#D49E95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c5ab41;
/* rgb */ color: rgb(197, 171, 65);
/* oklch */ color: oklch(74.4% 0.127 95.3);
Tailwind
colors: {
  custom: {
    50: '#dac37b',
    500: '#c5ab41',
    950: '#000000',
  },
}
SCSS
$custom: #c5ab41;
$custom-light: #dac37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ab41",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 48.182,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74438,
    "c": 0.12693,
    "h": 95.3
  },
  "luminance": 0.41378
}

Semantic roles & 50–950 ramp

primary
#C5AB41
secondary
#949FCE
accent
#68DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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