#C5A732#C5A732

#C5A732 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.5% C 0.134 H 94.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#C5A732
RGBrgb(197, 167, 50)
HSLhsl(48, 60%, 48%)
HSVhsv(48, 75%, 77%)
CMYKcmyk(0%, 15.2%, 74.6%, 22.7%)
CIE-LABlab(69.28, -1.14, 60.84)
CIE-LCHlch(69.28, 60.86, 91.07°)
OKLaboklab(73.49% -0.0094 0.1339)
OKLCHoklch(73.49% 0.134 94)
XYZxyz(37.4224, 39.7402, 8.7165)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A732 #3250C5
analogous
#C55D32 #C5A732 #99C532
triadic
#C5A732 #32C5A7 #A732C5
tetradic
#C5A732 #32C55D #3250C5 #C53299
square
#C5A732 #32C55D #3250C5 #C53299
split-complementary
#C5A732 #3299C5 #5D32C5
monochromatic
#635419 #947E26 #C5A732 #D6BE5E #E3D18F

Accessibility & contrast

On white

2.35
#C5A732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#C5A732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A732
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A732#FFFFFF#000000##000000
##C5A7321.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41E
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#D59990
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c5a732;
/* rgb */ color: rgb(197, 167, 50);
/* oklch */ color: oklch(73.5% 0.134 94.0);
Tailwind
colors: {
  custom: {
    50: '#dbc072',
    500: '#c5a732',
    950: '#000000',
  },
}
SCSS
$custom: #c5a732;
$custom-light: #dbc072;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a732",
  "rgb": {
    "r": 197,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 47.755,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73489,
    "c": 0.13424,
    "h": 94
  },
  "luminance": 0.39738
}

Semantic roles & 50–950 ramp

primary
#C5A732
secondary
#8694CD
accent
#65E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A732

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

Preview Lab → · Contrast checker → · Palette generator →

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