#C5A73B#C5A73B

#C5A73B is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.6% C 0.128 H 93.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#C5A73B
RGBrgb(197, 167, 59)
HSLhsl(47, 54%, 50%)
HSVhsv(47, 70%, 77%)
CMYKcmyk(0%, 15.2%, 70.1%, 22.7%)
CIE-LABlab(69.35, -0.70, 57.39)
CIE-LCHlch(69.35, 57.39, 90.70°)
OKLaboklab(73.56% -0.0072 0.1283)
OKLCHoklch(73.56% 0.128 93.2)
XYZxyz(37.6360, 39.8256, 9.8416)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A73B #3B59C5
analogous
#C5623B #C5A73B #9EC53B
triadic
#C5A73B #3BC5A7 #A73BC5
tetradic
#C5A73B #3BC562 #3B59C5 #C53B9E
square
#C5A73B #3BC562 #3B59C5 #C53B9E
split-complementary
#C5A73B #3B9EC5 #623BC5
monochromatic
#67571F #967F2C #C5A73B #D3BC6A #E1D199

Accessibility & contrast

On white

2.34
#C5A73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#C5A73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A73B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A73B#FFFFFF#000000##000000
##C5A73B1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42C
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#D59A91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c5a73b;
/* rgb */ color: rgb(197, 167, 59);
/* oklch */ color: oklch(73.6% 0.128 93.2);
Tailwind
colors: {
  custom: {
    50: '#dac077',
    500: '#c5a73b',
    950: '#000000',
  },
}
SCSS
$custom: #c5a73b;
$custom-light: #dac077;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a73b",
  "rgb": {
    "r": 197,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 46.957,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73557,
    "c": 0.12848,
    "h": 93.2
  },
  "luminance": 0.39824
}

Semantic roles & 50–950 ramp

primary
#C5A73B
secondary
#8F9CCD
accent
#6ADE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A73B

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

Preview Lab → · Contrast checker → · Palette generator →

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