#C5A532#C5A532

#C5A532 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 73.1% C 0.133 H 92.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#C5A532
RGBrgb(197, 165, 50)
HSLhsl(47, 60%, 48%)
HSVhsv(47, 75%, 77%)
CMYKcmyk(0%, 16.2%, 74.6%, 22.7%)
CIE-LABlab(68.76, -0.07, 60.34)
CIE-LCHlch(68.76, 60.34, 90.07°)
OKLaboklab(73.08% -0.0064 0.1328)
OKLCHoklch(73.08% 0.133 92.8)
XYZxyz(37.0589, 39.0131, 8.5953)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A532 #3252C5
analogous
#C55B32 #C5A532 #9BC532
triadic
#C5A532 #32C5A5 #A532C5
tetradic
#C5A532 #32C55B #3252C5 #C5329B
square
#C5A532 #32C55B #3252C5 #C5329B
split-complementary
#C5A532 #329BC5 #5B32C5
monochromatic
#635319 #947C26 #C5A532 #D6BC5E #E3D08F

Accessibility & contrast

On white

2.39
#C5A532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#C5A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A532
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A532#FFFFFF#000000##000000
##C5A5321.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21E
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#D5978E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c5a532;
/* rgb */ color: rgb(197, 165, 50);
/* oklch */ color: oklch(73.1% 0.133 92.8);
Tailwind
colors: {
  custom: {
    50: '#dbbf72',
    500: '#c5a532',
    950: '#000000',
  },
}
SCSS
$custom: #c5a532;
$custom-light: #dbbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a532",
  "rgb": {
    "r": 197,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 46.939,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73076,
    "c": 0.13299,
    "h": 92.8
  },
  "luminance": 0.39011
}

Semantic roles & 50–950 ramp

primary
#C5A532
secondary
#8695CD
accent
#67E345
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A532

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

Preview Lab → · Contrast checker → · Palette generator →

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