#C5BC3A#C5BC3A

#C5BC3A is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.0% C 0.146 H 105.4°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#C5BC3A
RGBrgb(197, 188, 58)
HSLhsl(56, 55%, 50%)
HSVhsv(56, 71%, 77%)
CMYKcmyk(0%, 4.6%, 70.6%, 22.7%)
CIE-LABlab(74.92, -11.72, 63.34)
CIE-LCHlch(74.92, 64.41, 100.49°)
OKLaboklab(77.97% -0.0386 0.1407)
OKLCHoklch(77.97% 0.146 105.4)
XYZxyz(41.7746, 48.1438, 11.0944)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BC3A #3A43C5
analogous
#C5763A #C5BC3A #89C53A
triadic
#C5BC3A #3AC5BC #BC3AC5
tetradic
#C5BC3A #3AC576 #3A43C5 #C53A89
square
#C5BC3A #3AC576 #3A43C5 #C53A89
split-complementary
#C5BC3A #3A89C5 #763AC5
monochromatic
#66621E #968F2C #C5BC3A #D3CC69 #E1DC99

Accessibility & contrast

On white

1.98
#C5BC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#C5BC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BC3A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BC3A#FFFFFF#000000##000000
##C5BC3A1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB525
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#D3AFA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bc3a;
/* rgb */ color: rgb(197, 188, 58);
/* oklch */ color: oklch(78.0% 0.146 105.4);
Tailwind
colors: {
  custom: {
    50: '#dacf78',
    500: '#c5bc3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5bc3a;
$custom-light: #dacf78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bc3a",
  "rgb": {
    "r": 197,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 56.115,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.14588,
    "h": 105.4
  },
  "luminance": 0.48142
}

Semantic roles & 50–950 ramp

primary
#C5BC3A
secondary
#8E92CD
accent
#54DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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