#C5BC34#C5BC34

#C5BC34 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.9% C 0.150 H 105.5°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#C5BC34
RGBrgb(197, 188, 52)
HSLhsl(56, 58%, 49%)
HSVhsv(56, 74%, 77%)
CMYKcmyk(0%, 4.6%, 73.6%, 22.7%)
CIE-LABlab(74.88, -12.00, 65.45)
CIE-LCHlch(74.88, 66.54, 100.39°)
OKLaboklab(77.93% -0.04 0.1441)
OKLCHoklch(77.93% 0.15 105.5)
XYZxyz(41.6307, 48.0863, 10.3368)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BC34 #343DC5
analogous
#C57434 #C5BC34 #86C534
triadic
#C5BC34 #34C5BC #BC34C5
tetradic
#C5BC34 #34C574 #343DC5 #C53486
square
#C5BC34 #34C574 #343DC5 #C53486
split-complementary
#C5BC34 #3486C5 #7434C5
monochromatic
#64601A #958E27 #C5BC34 #D5CE61 #E2DD91

Accessibility & contrast

On white

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

On black

10.62
#C5BC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BC34
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BC34#FFFFFF#000000##000000
##C5BC341.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB519
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#D4AFA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bc34;
/* rgb */ color: rgb(197, 188, 52);
/* oklch */ color: oklch(77.9% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#dacf75',
    500: '#c5bc34',
    950: '#000000',
  },
}
SCSS
$custom: #c5bc34;
$custom-light: #dacf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bc34",
  "rgb": {
    "r": 197,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 56.276,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77933,
    "c": 0.14952,
    "h": 105.5
  },
  "luminance": 0.48085
}

Semantic roles & 50–950 ramp

primary
#C5BC34
secondary
#888CCD
accent
#50E146
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BC34

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

Preview Lab → · Contrast checker → · Palette generator →

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