#C5A134#C5A134

#C5A134 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.3% C 0.130 H 89.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#C5A134
RGBrgb(197, 161, 52)
HSLhsl(45, 58%, 49%)
HSVhsv(45, 74%, 77%)
CMYKcmyk(0%, 18.3%, 73.6%, 22.7%)
CIE-LABlab(67.73, 2.16, 58.59)
CIE-LCHlch(67.73, 58.63, 87.89°)
OKLaboklab(72.27% 0.0002 0.1295)
OKLCHoklch(72.27% 0.13 89.9)
XYZxyz(36.3927, 37.6103, 8.5908)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A134 #3458C5
analogous
#C55834 #C5A134 #A1C534
triadic
#C5A134 #34C5A1 #A134C5
tetradic
#C5A134 #34C558 #3458C5 #C534A1
square
#C5A134 #34C558 #3458C5 #C534A1
split-complementary
#C5A134 #34A1C5 #5834C5
monochromatic
#64521A #957927 #C5A134 #D5B861 #E2CE91

Accessibility & contrast

On white

2.46
#C5A134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#C5A134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A134
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A134#FFFFFF#000000##000000
##C5A1341.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#D5938B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c5a134;
/* rgb */ color: rgb(197, 161, 52);
/* oklch */ color: oklch(72.3% 0.130 89.9);
Tailwind
colors: {
  custom: {
    50: '#dbbc73',
    500: '#c5a134',
    950: '#000000',
  },
}
SCSS
$custom: #c5a134;
$custom-light: #dbbc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a134",
  "rgb": {
    "r": 197,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 45.103,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72269,
    "c": 0.1295,
    "h": 89.9
  },
  "luminance": 0.37608
}

Semantic roles & 50–950 ramp

primary
#C5A134
secondary
#8899CD
accent
#6DE146
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #C5A134

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

Preview Lab → · Contrast checker → · Palette generator →

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