#C5A332#C5A332

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

Color values

HEX#C5A332
RGBrgb(197, 163, 50)
HSLhsl(46, 60%, 48%)
HSVhsv(46, 75%, 77%)
CMYKcmyk(0%, 17.3%, 74.6%, 22.7%)
CIE-LABlab(68.24, 1.00, 59.84)
CIE-LCHlch(68.24, 59.85, 89.05°)
OKLaboklab(72.66% -0.0034 0.1318)
OKLCHoklch(72.66% 0.132 91.5)
XYZxyz(36.7009, 38.2972, 8.4760)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A332 #3254C5
analogous
#C55932 #C5A332 #9DC532
triadic
#C5A332 #32C5A3 #A332C5
tetradic
#C5A332 #32C559 #3254C5 #C5329D
square
#C5A332 #32C559 #3254C5 #C5329D
split-complementary
#C5A332 #329DC5 #5932C5
monochromatic
#635219 #947B26 #C5A332 #D6BA5E #E3CF8F

Accessibility & contrast

On white

2.43
#C5A332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#C5A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A332
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A332#FFFFFF#000000##000000
##C5A3321.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11F
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#D5958D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a332;
/* rgb */ color: rgb(197, 163, 50);
/* oklch */ color: oklch(72.7% 0.132 91.5);
Tailwind
colors: {
  custom: {
    50: '#dbbd72',
    500: '#c5a332',
    950: '#000000',
  },
}
SCSS
$custom: #c5a332;
$custom-light: #dbbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a332",
  "rgb": {
    "r": 197,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 46.122,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72664,
    "c": 0.13182,
    "h": 91.5
  },
  "luminance": 0.38295
}

Semantic roles & 50–950 ramp

primary
#C5A332
secondary
#8696CD
accent
#6AE345
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A332

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

Preview Lab → · Contrast checker → · Palette generator →

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