#C5AF41#C5AF41

#C5AF41 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.130 H 97.8°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#C5AF41
RGBrgb(197, 175, 65)
HSLhsl(50, 53%, 51%)
HSVhsv(50, 67%, 77%)
CMYKcmyk(0%, 11.2%, 67%, 22.7%)
CIE-LABlab(71.50, -4.61, 57.11)
CIE-LCHlch(71.50, 57.30, 94.61°)
OKLaboklab(75.27% -0.0177 0.1287)
OKLCHoklch(75.27% 0.13 97.8)
XYZxyz(39.3119, 42.9138, 11.2125)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AF41 #4157C5
analogous
#C56D41 #C5AF41 #99C541
triadic
#C5AF41 #41C5AF #AF41C5
tetradic
#C5AF41 #41C56D #4157C5 #C54199
square
#C5AF41 #41C56D #4157C5 #C54199
split-complementary
#C5AF41 #4199C5 #6D41C5
monochromatic
#6B5F21 #9A882F #C5AF41 #D3C370 #E2D69F

Accessibility & contrast

On white

2.19
#C5AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#C5AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AF41
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AF41#FFFFFF#000000##000000
##C5AF411.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB33
Deuteranopia (green-blind)
#C6B247
Tritanopia (blue-blind)
#D4A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5af41;
/* rgb */ color: rgb(197, 175, 65);
/* oklch */ color: oklch(75.3% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#dac67b',
    500: '#c5af41',
    950: '#000000',
  },
}
SCSS
$custom: #c5af41;
$custom-light: #dac67b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5af41",
  "rgb": {
    "r": 197,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 50,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75274,
    "c": 0.12993,
    "h": 97.8
  },
  "luminance": 0.42912
}

Semantic roles & 50–950 ramp

primary
#C5AF41
secondary
#949ECE
accent
#63DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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