#C5B03A#C5B03A

#C5B03A is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.136 H 98.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C5B03A
RGBrgb(197, 176, 58)
HSLhsl(51, 55%, 50%)
HSVhsv(51, 71%, 77%)
CMYKcmyk(0%, 10.7%, 70.6%, 22.7%)
CIE-LABlab(71.71, -5.51, 60.17)
CIE-LCHlch(71.71, 60.42, 95.23°)
OKLaboklab(75.43% -0.021 0.134)
OKLCHoklch(75.43% 0.136 98.9)
XYZxyz(39.3169, 43.2284, 10.2751)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B03A #3A4FC5
analogous
#C56A3A #C5B03A #95C53A
triadic
#C5B03A #3AC5B0 #B03AC5
tetradic
#C5B03A #3AC56A #3A4FC5 #C53A95
square
#C5B03A #3AC56A #3A4FC5 #C53A95
split-complementary
#C5B03A #3A95C5 #6A3AC5
monochromatic
#665C1E #96862C #C5B03A #D3C369 #E1D699

Accessibility & contrast

On white

2.18
#C5B03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C5B03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B03A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B03A#FFFFFF#000000##000000
##C5B03A1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB28
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#D4A398
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b03a;
/* rgb */ color: rgb(197, 176, 58);
/* oklch */ color: oklch(75.4% 0.136 98.9);
Tailwind
colors: {
  custom: {
    50: '#dac777',
    500: '#c5b03a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b03a;
$custom-light: #dac777;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b03a",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 50.935,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.75426,
    "c": 0.13562,
    "h": 98.9
  },
  "luminance": 0.43226
}

Semantic roles & 50–950 ramp

primary
#C5B03A
secondary
#8E98CD
accent
#60DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B03A

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

Preview Lab → · Contrast checker → · Palette generator →

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