#C5A73D#C5A73D

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

Color values

HEX#C5A73D
RGBrgb(197, 167, 61)
HSLhsl(47, 54%, 51%)
HSVhsv(47, 69%, 77%)
CMYKcmyk(0%, 15.2%, 69%, 22.7%)
CIE-LABlab(69.36, -0.60, 56.58)
CIE-LCHlch(69.36, 56.58, 90.61°)
OKLaboklab(73.57% -0.0067 0.1269)
OKLCHoklch(73.57% 0.127 93)
XYZxyz(37.6889, 39.8468, 10.1200)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A73D #3D5BC5
analogous
#C5633D #C5A73D #9FC53D
triadic
#C5A73D #3DC5A7 #A73DC5
tetradic
#C5A73D #3DC563 #3D5BC5 #C53D9F
square
#C5A73D #3DC563 #3D5BC5 #C53D9F
split-complementary
#C5A73D #3D9FC5 #633DC5
monochromatic
#68581F #98802D #C5A73D #D3BC6C #E1D29B

Accessibility & contrast

On white

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

On black

8.97
#C5A73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A73D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A73D#FFFFFF#000000##000000
##C5A73D1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5a73d;
/* rgb */ color: rgb(197, 167, 61);
/* oklch */ color: oklch(73.6% 0.127 93.0);
Tailwind
colors: {
  custom: {
    50: '#dac078',
    500: '#c5a73d',
    950: '#000000',
  },
}
SCSS
$custom: #c5a73d;
$custom-light: #dac078;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a73d",
  "rgb": {
    "r": 197,
    "g": 167,
    "b": 61
  },
  "hsl": {
    "h": 46.765,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73574,
    "c": 0.1271,
    "h": 93
  },
  "luminance": 0.39845
}

Semantic roles & 50–950 ramp

primary
#C5A73D
secondary
#919ECD
accent
#6BDD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A73D

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

Preview Lab → · Contrast checker → · Palette generator →

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