#C5AA3A#C5AA3A

#C5AA3A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.131 H 95.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#C5AA3A
RGBrgb(197, 170, 58)
HSLhsl(48, 55%, 50%)
HSVhsv(48, 71%, 77%)
CMYKcmyk(0%, 13.7%, 70.6%, 22.7%)
CIE-LABlab(70.13, -2.35, 58.58)
CIE-LCHlch(70.13, 58.63, 92.30°)
OKLaboklab(74.17% -0.012 0.1306)
OKLCHoklch(74.17% 0.131 95.3)
XYZxyz(38.1663, 40.9273, 9.8916)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA3A #3A55C5
analogous
#C5643A #C5AA3A #9BC53A
triadic
#C5AA3A #3AC5AA #AA3AC5
tetradic
#C5AA3A #3AC564 #3A55C5 #C53A9B
square
#C5AA3A #3AC564 #3A55C5 #C53A9B
split-complementary
#C5AA3A #3A9BC5 #643AC5
monochromatic
#66581E #96812C #C5AA3A #D3BE69 #E1D399

Accessibility & contrast

On white

2.29
#C5AA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#C5AA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AA3A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AA3A#FFFFFF#000000##000000
##C5AA3A1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D59D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5aa3a;
/* rgb */ color: rgb(197, 170, 58);
/* oklch */ color: oklch(74.2% 0.131 95.3);
Tailwind
colors: {
  custom: {
    50: '#dac277',
    500: '#c5aa3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa3a;
$custom-light: #dac277;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa3a",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 48.345,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.74171,
    "c": 0.13118,
    "h": 95.3
  },
  "luminance": 0.40925
}

Semantic roles & 50–950 ramp

primary
#C5AA3A
secondary
#8E9ACD
accent
#67DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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