#C5AB3D#C5AB3D

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

Color values

HEX#C5AB3D
RGBrgb(197, 171, 61)
HSLhsl(49, 54%, 51%)
HSVhsv(49, 69%, 77%)
CMYKcmyk(0%, 13.2%, 69%, 22.7%)
CIE-LABlab(70.41, -2.72, 57.65)
CIE-LCHlch(70.41, 57.72, 92.70°)
OKLaboklab(74.4% -0.0127 0.1292)
OKLCHoklch(74.4% 0.13 95.6)
XYZxyz(38.4331, 41.3351, 10.3681)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AB3D #3D57C5
analogous
#C5673D #C5AB3D #9BC53D
triadic
#C5AB3D #3DC5AB #AB3DC5
tetradic
#C5AB3D #3DC567 #3D57C5 #C53D9B
square
#C5AB3D #3DC567 #3D57C5 #C53D9B
split-complementary
#C5AB3D #3D9BC5 #673DC5
monochromatic
#685A1F #98832D #C5AB3D #D3BF6C #E1D49B

Accessibility & contrast

On white

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

On black

9.27
#C5AB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AB3D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AB3D#FFFFFF#000000##000000
##C5AB3D1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ab3d;
/* rgb */ color: rgb(197, 171, 61);
/* oklch */ color: oklch(74.4% 0.130 95.6);
Tailwind
colors: {
  custom: {
    50: '#dac379',
    500: '#c5ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5ab3d;
$custom-light: #dac379;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ab3d",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 48.529,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74404,
    "c": 0.12982,
    "h": 95.6
  },
  "luminance": 0.41333
}

Semantic roles & 50–950 ramp

primary
#C5AB3D
secondary
#919CCD
accent
#67DD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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