#C5AB47#C5AB47

#C5AB47 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.122 H 94.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#C5AB47
RGBrgb(197, 171, 71)
HSLhsl(48, 52%, 53%)
HSVhsv(48, 64%, 77%)
CMYKcmyk(0%, 13.2%, 64%, 22.7%)
CIE-LABlab(70.49, -2.13, 53.45)
CIE-LCHlch(70.49, 53.49, 92.28°)
OKLaboklab(74.5% -0.0099 0.1219)
OKLCHoklch(74.5% 0.122 94.6)
XYZxyz(38.7280, 41.4530, 11.9213)
Luminance0.4145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AB47 #4761C5
analogous
#C56C47 #C5AB47 #A0C547
triadic
#C5AB47 #47C5AB #AB47C5
tetradic
#C5AB47 #47C56C #4761C5 #C547A0
square
#C5AB47 #47C56C #4761C5 #C547A0
split-complementary
#C5AB47 #47A0C5 #6C47C5
monochromatic
#6F5F23 #9D8732 #C5AB47 #D4C076 #E2D5A4

Accessibility & contrast

On white

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

On black

9.29
#C5AB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AB47
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AB47#FFFFFF#000000##000000
##C5AB471.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83C
Deuteranopia (green-blind)
#C2B04C
Tritanopia (blue-blind)
#D49F96
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c5ab47;
/* rgb */ color: rgb(197, 171, 71);
/* oklch */ color: oklch(74.5% 0.122 94.6);
Tailwind
colors: {
  custom: {
    50: '#dac37e',
    500: '#c5ab47',
    950: '#000000',
  },
}
SCSS
$custom: #c5ab47;
$custom-light: #dac37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ab47",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 47.619,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74495,
    "c": 0.12229,
    "h": 94.6
  },
  "luminance": 0.41451
}

Semantic roles & 50–950 ramp

primary
#C5AB47
secondary
#99A4CF
accent
#6ADC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AB47

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

Preview Lab → · Contrast checker → · Palette generator →

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