#C5AA3D#C5AA3D

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

Color values

HEX#C5AA3D
RGBrgb(197, 170, 61)
HSLhsl(48, 54%, 51%)
HSVhsv(48, 69%, 77%)
CMYKcmyk(0%, 13.7%, 69%, 22.7%)
CIE-LABlab(70.15, -2.19, 57.38)
CIE-LCHlch(70.15, 57.43, 92.19°)
OKLaboklab(74.2% -0.0112 0.1286)
OKLCHoklch(74.2% 0.129 95)
XYZxyz(38.2449, 40.9587, 10.3053)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA3D #3D58C5
analogous
#C5663D #C5AA3D #9CC53D
triadic
#C5AA3D #3DC5AA #AA3DC5
tetradic
#C5AA3D #3DC566 #3D58C5 #C53D9C
square
#C5AA3D #3DC566 #3D58C5 #C53D9C
split-complementary
#C5AA3D #3D9CC5 #663DC5
monochromatic
#685A1F #98822D #C5AA3D #D3BF6C #E1D39B

Accessibility & contrast

On white

2.28
#C5AA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5AA3D#FFFFFF#000000##000000
##C5AA3D1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72E
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#D49D94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5aa3d;
/* rgb */ color: rgb(197, 170, 61);
/* oklch */ color: oklch(74.2% 0.129 95.0);
Tailwind
colors: {
  custom: {
    50: '#dac278',
    500: '#c5aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa3d;
$custom-light: #dac278;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa3d",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 48.088,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74196,
    "c": 0.12912,
    "h": 95
  },
  "luminance": 0.40957
}

Semantic roles & 50–950 ramp

primary
#C5AA3D
secondary
#919DCD
accent
#68DD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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