#C5B73D#C5B73D

#C5B73D is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.9% C 0.139 H 102.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C5B73D
RGBrgb(197, 183, 61)
HSLhsl(54, 54%, 51%)
HSVhsv(54, 69%, 77%)
CMYKcmyk(0%, 7.1%, 69%, 22.7%)
CIE-LABlab(73.59, -9.00, 60.88)
CIE-LCHlch(73.59, 61.54, 98.41°)
OKLaboklab(76.93% -0.0306 0.136)
OKLCHoklch(76.93% 0.139 102.7)
XYZxyz(40.8035, 46.0759, 11.1582)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B73D #3D4BC5
analogous
#C5733D #C5B73D #8FC53D
triadic
#C5B73D #3DC5B7 #B73DC5
tetradic
#C5B73D #3DC573 #3D4BC5 #C53D8F
square
#C5B73D #3DC573 #3D4BC5 #C53D8F
split-complementary
#C5B73D #3D8FC5 #733DC5
monochromatic
#68611F #988D2D #C5B73D #D3C86C #E1DA9B

Accessibility & contrast

On white

2.06
#C5B73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#C5B73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B73D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B73D#FFFFFF#000000##000000
##C5B73D1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12B
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#D4AA9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c5b73d;
/* rgb */ color: rgb(197, 183, 61);
/* oklch */ color: oklch(76.9% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#dacc7a',
    500: '#c5b73d',
    950: '#000000',
  },
}
SCSS
$custom: #c5b73d;
$custom-light: #dacc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b73d",
  "rgb": {
    "r": 197,
    "g": 183,
    "b": 61
  },
  "hsl": {
    "h": 53.824,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76929,
    "c": 0.13941,
    "h": 102.7
  },
  "luminance": 0.46074
}

Semantic roles & 50–950 ramp

primary
#C5B73D
secondary
#9197CD
accent
#5ADD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B73D

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

Preview Lab → · Contrast checker → · Palette generator →

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