#C5AC45#C5AC45

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

Color values

HEX#C5AC45
RGBrgb(197, 172, 69)
HSLhsl(48, 52%, 52%)
HSVhsv(48, 65%, 77%)
CMYKcmyk(0%, 12.7%, 65%, 22.7%)
CIE-LABlab(70.74, -2.79, 54.59)
CIE-LCHlch(70.74, 54.67, 92.92°)
OKLaboklab(74.68% -0.012 0.124)
OKLCHoklch(74.68% 0.125 95.5)
XYZxyz(38.8545, 41.8070, 11.6520)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AC45 #455EC5
analogous
#C56C45 #C5AC45 #9EC545
triadic
#C5AC45 #45C5AC #AC45C5
tetradic
#C5AC45 #45C56C #455EC5 #C5459E
square
#C5AC45 #45C56C #455EC5 #C5459E
split-complementary
#C5AC45 #459EC5 #6C45C5
monochromatic
#6D5F22 #9C8731 #C5AC45 #D4C174 #E2D6A2

Accessibility & contrast

On white

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

On black

9.36
#C5AC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AC45
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AC45#FFFFFF#000000##000000
##C5AC451.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#D49F96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ac45;
/* rgb */ color: rgb(197, 172, 69);
/* oklch */ color: oklch(74.7% 0.125 95.5);
Tailwind
colors: {
  custom: {
    50: '#dac47d',
    500: '#c5ac45',
    950: '#000000',
  },
}
SCSS
$custom: #c5ac45;
$custom-light: #dac47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ac45",
  "rgb": {
    "r": 197,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 48.281,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74684,
    "c": 0.12461,
    "h": 95.5
  },
  "luminance": 0.41805
}

Semantic roles & 50–950 ramp

primary
#C5AC45
secondary
#97A2CF
accent
#68DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AC45

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

Preview Lab → · Contrast checker → · Palette generator →

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