#B5BC3A#B5BC3A

#B5BC3A is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.6% C 0.149 H 112.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#B5BC3A
RGBrgb(181, 188, 58)
HSLhsl(63, 53%, 48%)
HSVhsv(63, 69%, 74%)
CMYKcmyk(3.7%, 0%, 69.1%, 26.3%)
CIE-LABlab(73.61, -18.53, 61.61)
CIE-LCHlch(73.61, 64.34, 106.74°)
OKLaboklab(76.61% -0.0568 0.1375)
OKLCHoklch(76.61% 0.149 112.5)
XYZxyz(37.8041, 46.0965, 10.9083)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC3A #413ABC
analogous
#BC823A #B5BC3A #74BC3A
triadic
#B5BC3A #3AB5BC #BC3AB5
tetradic
#B5BC3A #3ABC82 #413ABC #BC3A74
square
#B5BC3A #3ABC82 #413ABC #BC3A74
split-complementary
#B5BC3A #3A74BC #823ABC
monochromatic
#5B5E1D #888D2C #B5BC3A #C9CF64 #DADE93

Accessibility & contrast

On white

2.05
#B5BC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#B5BC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC3A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC3A#FFFFFF#000000##000000
##B5BC3A1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB325
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#C1B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc3a;
/* rgb */ color: rgb(181, 188, 58);
/* oklch */ color: oklch(76.6% 0.149 112.5);
Tailwind
colors: {
  custom: {
    50: '#ced078',
    500: '#b5bc3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc3a;
$custom-light: #ced078;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc3a",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 63.231,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76611,
    "c": 0.14882,
    "h": 112.5
  },
  "luminance": 0.46096
}

Semantic roles & 50–950 ramp

primary
#B5BC3A
secondary
#8C89C9
accent
#4CDC53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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