#C5AF39#C5AF39

#C5AF39 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.136 H 98.4°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#C5AF39
RGBrgb(197, 175, 57)
HSLhsl(51, 55%, 50%)
HSVhsv(51, 71%, 77%)
CMYKcmyk(0%, 11.2%, 71.1%, 22.7%)
CIE-LABlab(71.44, -5.04, 60.29)
CIE-LCHlch(71.44, 60.50, 94.78°)
OKLaboklab(75.21% -0.0198 0.1341)
OKLCHoklch(75.21% 0.136 98.4)
XYZxyz(39.0963, 42.8276, 10.0773)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AF39 #394FC5
analogous
#C56939 #C5AF39 #95C539
triadic
#C5AF39 #39C5AF #AF39C5
tetradic
#C5AF39 #39C569 #394FC5 #C53995
square
#C5AF39 #39C569 #394FC5 #C53995
split-complementary
#C5AF39 #3995C5 #6939C5
monochromatic
#665B1E #96852B #C5AF39 #D3C268 #E1D597

Accessibility & contrast

On white

2.20
#C5AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#C5AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AF39
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AF39#FFFFFF#000000##000000
##C5AF391.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB27
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#D4A297
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5af39;
/* rgb */ color: rgb(197, 175, 57);
/* oklch */ color: oklch(75.2% 0.136 98.4);
Tailwind
colors: {
  custom: {
    50: '#dac677',
    500: '#c5af39',
    950: '#000000',
  },
}
SCSS
$custom: #c5af39;
$custom-light: #dac677;
$custom-dark: #000000;
JSON
{
  "hex": "#c5af39",
  "rgb": {
    "r": 197,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 50.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75208,
    "c": 0.1355,
    "h": 98.4
  },
  "luminance": 0.42826
}

Semantic roles & 50–950 ramp

primary
#C5AF39
secondary
#8D97CD
accent
#61DE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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