#C5AA3C#C5AA3C

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

Color values

HEX#C5AA3C
RGBrgb(197, 170, 60)
HSLhsl(48, 54%, 50%)
HSVhsv(48, 70%, 77%)
CMYKcmyk(0%, 13.7%, 69.5%, 22.7%)
CIE-LABlab(70.14, -2.24, 57.79)
CIE-LCHlch(70.14, 57.83, 92.22°)
OKLaboklab(74.19% -0.0115 0.1293)
OKLCHoklch(74.19% 0.13 95.1)
XYZxyz(38.2182, 40.9480, 10.1648)
Luminance0.4095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA3C #3C57C5
analogous
#C5653C #C5AA3C #9CC53C
triadic
#C5AA3C #3CC5AA #AA3CC5
tetradic
#C5AA3C #3CC565 #3C57C5 #C53C9C
square
#C5AA3C #3CC565 #3C57C5 #C53C9C
split-complementary
#C5AA3C #3C9CC5 #653CC5
monochromatic
#68591F #97822D #C5AA3C #D3BF6B #E1D39A

Accessibility & contrast

On white

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

On black

9.19
#C5AA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AA3C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AA3C#FFFFFF#000000##000000
##C5AA3C1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72D
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#D59D94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5aa3c;
/* rgb */ color: rgb(197, 170, 60);
/* oklch */ color: oklch(74.2% 0.130 95.1);
Tailwind
colors: {
  custom: {
    50: '#dac278',
    500: '#c5aa3c',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa3c;
$custom-light: #dac278;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa3c",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 60
  },
  "hsl": {
    "h": 48.175,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74187,
    "c": 0.12981,
    "h": 95.1
  },
  "luminance": 0.40946
}

Semantic roles & 50–950 ramp

primary
#C5AA3C
secondary
#909CCD
accent
#67DE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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