#C5B73A#C5B73A

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

Color values

HEX#C5B73A
RGBrgb(197, 183, 58)
HSLhsl(54, 55%, 50%)
HSVhsv(54, 71%, 77%)
CMYKcmyk(0%, 7.1%, 70.6%, 22.7%)
CIE-LABlab(73.57, -9.15, 62.02)
CIE-LCHlch(73.57, 62.69, 98.39°)
OKLaboklab(76.91% -0.0314 0.1379)
OKLCHoklch(76.91% 0.141 102.8)
XYZxyz(40.7249, 46.0445, 10.7445)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B73A #3A48C5
analogous
#C5723A #C5B73A #8DC53A
triadic
#C5B73A #3AC5B7 #B73AC5
tetradic
#C5B73A #3AC572 #3A48C5 #C53A8D
square
#C5B73A #3AC572 #3A48C5 #C53A8D
split-complementary
#C5B73A #3A8DC5 #723AC5
monochromatic
#665F1E #968B2C #C5B73A #D3C869 #E1DA99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B73A#FFFFFF#000000##000000
##C5B73A1.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)
#C8B126
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#D4AA9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c5b73a;
/* rgb */ color: rgb(197, 183, 58);
/* oklch */ color: oklch(76.9% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#dacc78',
    500: '#c5b73a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b73a;
$custom-light: #dacc78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b73a",
  "rgb": {
    "r": 197,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 53.957,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.76906,
    "c": 0.14141,
    "h": 102.8
  },
  "luminance": 0.46043
}

Semantic roles & 50–950 ramp

primary
#C5B73A
secondary
#8E95CD
accent
#59DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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