#B5BA36#B5BA36

#B5BA36 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.149 H 111.6°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#B5BA36
RGBrgb(181, 186, 54)
HSLhsl(62, 55%, 47%)
HSVhsv(62, 71%, 73%)
CMYKcmyk(2.7%, 0%, 71%, 27.1%)
CIE-LABlab(73.03, -17.74, 62.51)
CIE-LCHlch(73.03, 64.98, 105.84°)
OKLaboklab(76.14% -0.055 0.1388)
OKLCHoklch(76.14% 0.149 111.6)
XYZxyz(37.2820, 45.2088, 10.2516)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA36 #3B36BA
analogous
#BA7D36 #B5BA36 #73BA36
triadic
#B5BA36 #36B5BA #BA36B5
tetradic
#B5BA36 #36BA7D #3B36BA #BA3673
square
#B5BA36 #36BA7D #3B36BA #BA3673
split-complementary
#B5BA36 #3673BA #7D36BA
monochromatic
#595B1A #878B28 #B5BA36 #CCD05D #DBDE8D

Accessibility & contrast

On white

2.09
#B5BA36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#B5BA36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BA36
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BA36#FFFFFF#000000##000000
##B5BA361.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B21F
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5ba36;
/* rgb */ color: rgb(181, 186, 54);
/* oklch */ color: oklch(76.1% 0.149 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfce76',
    500: '#b5ba36',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba36;
$custom-light: #cfce76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba36",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 54
  },
  "hsl": {
    "h": 62.273,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7614,
    "c": 0.14927,
    "h": 111.6
  },
  "luminance": 0.45208
}

Semantic roles & 50–950 ramp

primary
#B5BA36
secondary
#8684C8
accent
#49DE4F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BA36

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

Preview Lab → · Contrast checker → · Palette generator →

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