#C5A337#C5A337

#C5A337 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.7% C 0.129 H 90.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#C5A337
RGBrgb(197, 163, 55)
HSLhsl(46, 56%, 49%)
HSVhsv(46, 72%, 77%)
CMYKcmyk(0%, 17.3%, 72.1%, 22.7%)
CIE-LABlab(68.27, 1.23, 57.93)
CIE-LCHlch(68.27, 57.95, 88.78°)
OKLaboklab(72.7% -0.0021 0.1287)
OKLCHoklch(72.7% 0.129 90.9)
XYZxyz(36.8148, 38.3428, 9.0755)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A337 #3759C5
analogous
#C55C37 #C5A337 #A0C537
triadic
#C5A337 #37C5A3 #A337C5
tetradic
#C5A337 #37C55C #3759C5 #C537A0
square
#C5A337 #37C55C #3759C5 #C537A0
split-complementary
#C5A337 #37A0C5 #5C37C5
monochromatic
#65541C #957B2A #C5A337 #D4B965 #E1CF95

Accessibility & contrast

On white

2.42
#C5A337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#C5A337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A337
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A337#FFFFFF#000000##000000
##C5A3371.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A127
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#D5968D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a337;
/* rgb */ color: rgb(197, 163, 55);
/* oklch */ color: oklch(72.7% 0.129 90.9);
Tailwind
colors: {
  custom: {
    50: '#dbbd74',
    500: '#c5a337',
    950: '#000000',
  },
}
SCSS
$custom: #c5a337;
$custom-light: #dbbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a337",
  "rgb": {
    "r": 197,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 45.634,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72701,
    "c": 0.12872,
    "h": 90.9
  },
  "luminance": 0.38341
}

Semantic roles & 50–950 ramp

primary
#C5A337
secondary
#8B9BCD
accent
#6CE048
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A337

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

Preview Lab → · Contrast checker → · Palette generator →

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