#C5AC3A#C5AC3A

#C5AC3A is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.6% C 0.133 H 96.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#C5AC3A
RGBrgb(197, 172, 58)
HSLhsl(49, 55%, 50%)
HSVhsv(49, 71%, 77%)
CMYKcmyk(0%, 12.7%, 70.6%, 22.7%)
CIE-LABlab(70.65, -3.41, 59.11)
CIE-LCHlch(70.65, 59.21, 93.30°)
OKLaboklab(74.59% -0.015 0.1318)
OKLCHoklch(74.59% 0.133 96.5)
XYZxyz(38.5441, 41.6828, 10.0175)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AC3A #3A53C5
analogous
#C5673A #C5AC3A #98C53A
triadic
#C5AC3A #3AC5AC #AC3AC5
tetradic
#C5AC3A #3AC567 #3A53C5 #C53A98
square
#C5AC3A #3AC567 #3A53C5 #C53A98
split-complementary
#C5AC3A #3A98C5 #673AC5
monochromatic
#66591E #96832C #C5AC3A #D3C069 #E1D499

Accessibility & contrast

On white

2.25
#C5AC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#C5AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AC3A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AC3A#FFFFFF#000000##000000
##C5AC3A1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#C4B041
Tritanopia (blue-blind)
#D49F95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ac3a;
/* rgb */ color: rgb(197, 172, 58);
/* oklch */ color: oklch(74.6% 0.133 96.5);
Tailwind
colors: {
  custom: {
    50: '#dac477',
    500: '#c5ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ac3a;
$custom-light: #dac477;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ac3a",
  "rgb": {
    "r": 197,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 49.209,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.74588,
    "c": 0.13261,
    "h": 96.5
  },
  "luminance": 0.41681
}

Semantic roles & 50–950 ramp

primary
#C5AC3A
secondary
#8E99CD
accent
#65DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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