#C5A334#C5A334

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

Color values

HEX#C5A334
RGBrgb(197, 163, 52)
HSLhsl(46, 58%, 49%)
HSVhsv(46, 74%, 77%)
CMYKcmyk(0%, 17.3%, 73.6%, 22.7%)
CIE-LABlab(68.25, 1.09, 59.09)
CIE-LCHlch(68.25, 59.10, 88.95°)
OKLaboklab(72.68% -0.0029 0.1306)
OKLCHoklch(72.68% 0.131 91.3)
XYZxyz(36.7450, 38.3149, 8.7083)
Luminance0.3831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A334 #3456C5
analogous
#C55B34 #C5A334 #9FC534
triadic
#C5A334 #34C5A3 #A334C5
tetradic
#C5A334 #34C55B #3456C5 #C5349F
square
#C5A334 #34C55B #3456C5 #C5349F
split-complementary
#C5A334 #349FC5 #5B34C5
monochromatic
#64531A #957B27 #C5A334 #D5BA61 #E2CF91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A334#FFFFFF#000000##000000
##C5A3341.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5a334;
/* rgb */ color: rgb(197, 163, 52);
/* oklch */ color: oklch(72.7% 0.131 91.3);
Tailwind
colors: {
  custom: {
    50: '#dbbd73',
    500: '#c5a334',
    950: '#000000',
  },
}
SCSS
$custom: #c5a334;
$custom-light: #dbbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a334",
  "rgb": {
    "r": 197,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 45.931,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72679,
    "c": 0.13061,
    "h": 91.3
  },
  "luminance": 0.38313
}

Semantic roles & 50–950 ramp

primary
#C5A334
secondary
#8898CD
accent
#6BE146
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A334

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

Preview Lab → · Contrast checker → · Palette generator →

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