#C5A434#C5A434

#C5A434 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.9% C 0.131 H 91.9°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#C5A434
RGBrgb(197, 164, 52)
HSLhsl(46, 58%, 49%)
HSVhsv(46, 74%, 77%)
CMYKcmyk(0%, 16.8%, 73.6%, 22.7%)
CIE-LABlab(68.51, 0.55, 59.35)
CIE-LCHlch(68.51, 59.35, 89.47°)
OKLaboklab(72.88% -0.0044 0.1311)
OKLCHoklch(72.88% 0.131 91.9)
XYZxyz(36.9233, 38.6714, 8.7677)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A434 #3455C5
analogous
#C55C34 #C5A434 #9EC534
triadic
#C5A434 #34C5A4 #A434C5
tetradic
#C5A434 #34C55C #3455C5 #C5349E
square
#C5A434 #34C55C #3455C5 #C5349E
split-complementary
#C5A434 #349EC5 #5C34C5
monochromatic
#64531A #957C27 #C5A434 #D5BB61 #E2D091

Accessibility & contrast

On white

2.40
#C5A434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#C5A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A434
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A434#FFFFFF#000000##000000
##C5A4341.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A222
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#D5968E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c5a434;
/* rgb */ color: rgb(197, 164, 52);
/* oklch */ color: oklch(72.9% 0.131 91.9);
Tailwind
colors: {
  custom: {
    50: '#dbbe73',
    500: '#c5a434',
    950: '#000000',
  },
}
SCSS
$custom: #c5a434;
$custom-light: #dbbe73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a434",
  "rgb": {
    "r": 197,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 46.345,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72884,
    "c": 0.13119,
    "h": 91.9
  },
  "luminance": 0.38669
}

Semantic roles & 50–950 ramp

primary
#C5A434
secondary
#8898CD
accent
#6AE146
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C5A434

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

Preview Lab → · Contrast checker → · Palette generator →

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