#B5BA37#B5BA37

#B5BA37 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#B5BA37
RGBrgb(181, 186, 55)
HSLhsl(62, 54%, 47%)
HSVhsv(62, 70%, 73%)
CMYKcmyk(2.7%, 0%, 70.4%, 27.1%)
CIE-LABlab(73.04, -17.69, 62.16)
CIE-LCHlch(73.04, 64.62, 105.89°)
OKLaboklab(76.15% -0.0548 0.1382)
OKLCHoklch(76.15% 0.149 111.6)
XYZxyz(37.3057, 45.2183, 10.3765)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA37 #3C37BA
analogous
#BA7E37 #B5BA37 #74BA37
triadic
#B5BA37 #37B5BA #BA37B5
tetradic
#B5BA37 #37BA7E #3C37BA #BA3774
square
#B5BA37 #37BA7E #3C37BA #BA3774
split-complementary
#B5BA37 #3774BA #7E37BA
monochromatic
#595C1B #878B29 #B5BA37 #CBD05F #DBDE8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BA37#FFFFFF#000000##000000
##B5BA371.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)
#C8B220
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5ba37;
/* rgb */ color: rgb(181, 186, 55);
/* oklch */ color: oklch(76.1% 0.149 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfce76',
    500: '#b5ba37',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba37;
$custom-light: #cfce76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba37",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 62.29,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76147,
    "c": 0.14865,
    "h": 111.6
  },
  "luminance": 0.45217
}

Semantic roles & 50–950 ramp

primary
#B5BA37
secondary
#8785C8
accent
#4ADE50
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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