#C5A539#C5A539

#C5A539 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.1% C 0.129 H 92.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#C5A539
RGBrgb(197, 165, 57)
HSLhsl(46, 55%, 50%)
HSVhsv(46, 71%, 77%)
CMYKcmyk(0%, 16.2%, 71.1%, 22.7%)
CIE-LABlab(68.81, 0.26, 57.66)
CIE-LCHlch(68.81, 57.66, 89.74°)
OKLaboklab(73.13% -0.0047 0.1285)
OKLCHoklch(73.13% 0.129 92.1)
XYZxyz(37.2216, 39.0782, 9.4524)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A539 #3959C5
analogous
#C55F39 #C5A539 #9FC539
triadic
#C5A539 #39C5A5 #A539C5
tetradic
#C5A539 #39C55F #3959C5 #C5399F
square
#C5A539 #39C55F #3959C5 #C5399F
split-complementary
#C5A539 #399FC5 #5F39C5
monochromatic
#66551E #967D2B #C5A539 #D3BB68 #E1D097

Accessibility & contrast

On white

2.38
#C5A539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#C5A539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A539
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A539#FFFFFF#000000##000000
##C5A5391.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32A
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#D5988F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c5a539;
/* rgb */ color: rgb(197, 165, 57);
/* oklch */ color: oklch(73.1% 0.129 92.1);
Tailwind
colors: {
  custom: {
    50: '#dabf76',
    500: '#c5a539',
    950: '#000000',
  },
}
SCSS
$custom: #c5a539;
$custom-light: #dabf76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a539",
  "rgb": {
    "r": 197,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 46.286,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73128,
    "c": 0.12859,
    "h": 92.1
  },
  "luminance": 0.39076
}

Semantic roles & 50–950 ramp

primary
#C5A539
secondary
#8D9CCD
accent
#6BDE49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A539

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

Preview Lab → · Contrast checker → · Palette generator →

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