#B5BC34#B5BC34

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

Color values

HEX#B5BC34
RGBrgb(181, 188, 52)
HSLhsl(63, 57%, 47%)
HSVhsv(63, 72%, 74%)
CMYKcmyk(3.7%, 0%, 72.3%, 26.3%)
CIE-LABlab(73.57, -18.84, 63.75)
CIE-LCHlch(73.57, 66.47, 106.46°)
OKLaboklab(76.57% -0.0583 0.141)
OKLCHoklch(76.57% 0.153 112.4)
XYZxyz(37.6603, 46.0390, 10.1507)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC34 #3B34BC
analogous
#BC7F34 #B5BC34 #71BC34
triadic
#B5BC34 #34B5BC #BC34B5
tetradic
#B5BC34 #34BC7F #3B34BC #BC3471
square
#B5BC34 #34BC7F #3B34BC #BC3471
split-complementary
#B5BC34 #3471BC #7F34BC
monochromatic
#595C19 #878C27 #B5BC34 #CCD25B #DBDF8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BC34#FFFFFF#000000##000000
##B5BC341.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)
#CAB31A
Deuteranopia (green-blind)
#CBB63F
Tritanopia (blue-blind)
#C1B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc34;
/* rgb */ color: rgb(181, 188, 52);
/* oklch */ color: oklch(76.6% 0.153 112.4);
Tailwind
colors: {
  custom: {
    50: '#cfd075',
    500: '#b5bc34',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc34;
$custom-light: #cfd075;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc34",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 63.088,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7657,
    "c": 0.15258,
    "h": 112.4
  },
  "luminance": 0.46038
}

Semantic roles & 50–950 ramp

primary
#B5BC34
secondary
#8683C9
accent
#48E050
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BC34

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

Preview Lab → · Contrast checker → · Palette generator →

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