#C5A634#C5A634

#C5A634 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.3% C 0.132 H 93.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#C5A634
RGBrgb(197, 166, 52)
HSLhsl(47, 58%, 49%)
HSVhsv(47, 74%, 77%)
CMYKcmyk(0%, 15.7%, 73.6%, 22.7%)
CIE-LABlab(69.03, -0.52, 59.85)
CIE-LCHlch(69.03, 59.86, 90.49°)
OKLaboklab(73.3% -0.0075 0.1322)
OKLCHoklch(73.3% 0.132 93.2)
XYZxyz(37.2840, 39.3928, 8.8879)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A634 #3453C5
analogous
#C55D34 #C5A634 #9CC534
triadic
#C5A634 #34C5A6 #A634C5
tetradic
#C5A634 #34C55D #3453C5 #C5349C
square
#C5A634 #34C55D #3453C5 #C5349C
split-complementary
#C5A634 #349CC5 #5D34C5
monochromatic
#64541A #957D27 #C5A634 #D5BC61 #E2D191

Accessibility & contrast

On white

2.37
#C5A634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#C5A634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A634
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A634#FFFFFF#000000##000000
##C5A6341.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A322
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#D5988F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c5a634;
/* rgb */ color: rgb(197, 166, 52);
/* oklch */ color: oklch(73.3% 0.132 93.2);
Tailwind
colors: {
  custom: {
    50: '#dbc073',
    500: '#c5a634',
    950: '#000000',
  },
}
SCSS
$custom: #c5a634;
$custom-light: #dbc073;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a634",
  "rgb": {
    "r": 197,
    "g": 166,
    "b": 52
  },
  "hsl": {
    "h": 47.172,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73297,
    "c": 0.13241,
    "h": 93.2
  },
  "luminance": 0.39391
}

Semantic roles & 50–950 ramp

primary
#C5A634
secondary
#8897CD
accent
#68E146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C5A634

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

Preview Lab → · Contrast checker → · Palette generator →

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