#C5AA3F#C5AA3F

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

Color values

HEX#C5AA3F
RGBrgb(197, 170, 63)
HSLhsl(48, 54%, 51%)
HSVhsv(48, 68%, 77%)
CMYKcmyk(0%, 13.7%, 68%, 22.7%)
CIE-LABlab(70.16, -2.08, 56.57)
CIE-LCHlch(70.16, 56.61, 92.11°)
OKLaboklab(74.21% -0.0107 0.1272)
OKLCHoklch(74.21% 0.128 94.8)
XYZxyz(38.2998, 40.9807, 10.5944)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA3F #3F5AC5
analogous
#C5673F #C5AA3F #9DC53F
triadic
#C5AA3F #3FC5AA #AA3FC5
tetradic
#C5AA3F #3FC567 #3F5AC5 #C53F9D
square
#C5AA3F #3FC567 #3F5AC5 #C53F9D
split-complementary
#C5AA3F #3F9DC5 #673FC5
monochromatic
#6A5B20 #99832E #C5AA3F #D3BF6E #E1D49D

Accessibility & contrast

On white

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

On black

9.20
#C5AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AA3F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AA3F#FFFFFF#000000##000000
##C5AA3F1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5aa3f;
/* rgb */ color: rgb(197, 170, 63);
/* oklch */ color: oklch(74.2% 0.128 94.8);
Tailwind
colors: {
  custom: {
    50: '#dac27a',
    500: '#c5aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa3f;
$custom-light: #dac27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa3f",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 47.91,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74213,
    "c": 0.12769,
    "h": 94.8
  },
  "luminance": 0.40979
}

Semantic roles & 50–950 ramp

primary
#C5AA3F
secondary
#929ECE
accent
#68DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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