#C5AC47#C5AC47

#C5AC47 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.123 H 95.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#C5AC47
RGBrgb(197, 172, 71)
HSLhsl(48, 52%, 53%)
HSVhsv(48, 64%, 77%)
CMYKcmyk(0%, 12.7%, 64%, 22.7%)
CIE-LABlab(70.76, -2.66, 53.73)
CIE-LCHlch(70.76, 53.80, 92.83°)
OKLaboklab(74.7% -0.0114 0.1225)
OKLCHoklch(74.7% 0.123 95.3)
XYZxyz(38.9176, 41.8322, 11.9845)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AC47 #4760C5
analogous
#C56D47 #C5AC47 #9FC547
triadic
#C5AC47 #47C5AC #AC47C5
tetradic
#C5AC47 #47C56D #4760C5 #C5479F
square
#C5AC47 #47C56D #4760C5 #C5479F
split-complementary
#C5AC47 #479FC5 #6D47C5
monochromatic
#6F6023 #9D8832 #C5AC47 #D4C176 #E2D6A4

Accessibility & contrast

On white

2.24
#C5AC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#C5AC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AC47
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AC47#FFFFFF#000000##000000
##C5AC471.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93B
Deuteranopia (green-blind)
#C3B04C
Tritanopia (blue-blind)
#D4A096
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ac47;
/* rgb */ color: rgb(197, 172, 71);
/* oklch */ color: oklch(74.7% 0.123 95.3);
Tailwind
colors: {
  custom: {
    50: '#dac47f',
    500: '#c5ac47',
    950: '#000000',
  },
}
SCSS
$custom: #c5ac47;
$custom-light: #dac47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ac47",
  "rgb": {
    "r": 197,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 48.095,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74703,
    "c": 0.12303,
    "h": 95.3
  },
  "luminance": 0.4183
}

Semantic roles & 50–950 ramp

primary
#C5AC47
secondary
#99A3CF
accent
#69DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AC47

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

Preview Lab → · Contrast checker → · Palette generator →

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