#C5B32A#C5B32A

#C5B32A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.0% C 0.147 H 101.4°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#C5B32A
RGBrgb(197, 179, 42)
HSLhsl(53, 65%, 47%)
HSVhsv(53, 79%, 77%)
CMYKcmyk(0%, 9.1%, 78.7%, 22.7%)
CIE-LABlab(72.41, -7.76, 66.45)
CIE-LCHlch(72.41, 66.91, 96.66°)
OKLaboklab(75.96% -0.029 0.1443)
OKLCHoklch(75.96% 0.147 101.4)
XYZxyz(39.5659, 44.2795, 8.6528)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B32A #2A3CC5
analogous
#C5652A #C5B32A #8AC52A
triadic
#C5B32A #2AC5B3 #B32AC5
tetradic
#C5B32A #2AC565 #2A3CC5 #C52A8A
square
#C5B32A #2AC565 #2A3CC5 #C52A8A
split-complementary
#C5B32A #2A8AC5 #652AC5
monochromatic
#605714 #93851F #C5B32A #DACA52 #E5DA85

Accessibility & contrast

On white

2.13
#C5B32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#C5B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B32A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B32A#FFFFFF#000000##000000
##C5B32A1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE02
Deuteranopia (green-blind)
#CAB535
Tritanopia (blue-blind)
#D5A69A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b32a;
/* rgb */ color: rgb(197, 179, 42);
/* oklch */ color: oklch(76.0% 0.147 101.4);
Tailwind
colors: {
  custom: {
    50: '#dbc970',
    500: '#c5b32a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b32a;
$custom-light: #dbc970;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b32a",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 53.032,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75956,
    "c": 0.14719,
    "h": 101.4
  },
  "luminance": 0.44278
}

Semantic roles & 50–950 ramp

primary
#C5B32A
secondary
#7D86CE
accent
#53E840
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C5B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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