#C5AA47#C5AA47

#C5AA47 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.3% C 0.122 H 93.9°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C5AA47
RGBrgb(197, 170, 71)
HSLhsl(47, 52%, 53%)
HSVhsv(47, 64%, 77%)
CMYKcmyk(0%, 13.7%, 64%, 22.7%)
CIE-LABlab(70.23, -1.60, 53.16)
CIE-LCHlch(70.23, 53.18, 91.73°)
OKLaboklab(74.29% -0.0083 0.1213)
OKLCHoklch(74.29% 0.122 93.9)
XYZxyz(38.5398, 41.0767, 11.8586)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA47 #4762C5
analogous
#C56B47 #C5AA47 #A1C547
triadic
#C5AA47 #47C5AA #AA47C5
tetradic
#C5AA47 #47C56B #4762C5 #C547A1
square
#C5AA47 #47C56B #4762C5 #C547A1
split-complementary
#C5AA47 #47A1C5 #6B47C5
monochromatic
#6F5E23 #9D8632 #C5AA47 #D4BF76 #E2D5A4

Accessibility & contrast

On white

2.28
#C5AA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#C5AA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AA47
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AA47#FFFFFF#000000##000000
##C5AA471.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5aa47;
/* rgb */ color: rgb(197, 170, 71);
/* oklch */ color: oklch(74.3% 0.122 93.9);
Tailwind
colors: {
  custom: {
    50: '#dac37e',
    500: '#c5aa47',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa47;
$custom-light: #dac37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa47",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 71
  },
  "hsl": {
    "h": 47.143,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74287,
    "c": 0.12158,
    "h": 93.9
  },
  "luminance": 0.41075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5AA47

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

Preview Lab → · Contrast checker → · Palette generator →

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