#B5BA26#B5BA26

#B5BA26 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.158 H 111.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#B5BA26
RGBrgb(181, 186, 38)
HSLhsl(62, 66%, 44%)
HSVhsv(62, 80%, 73%)
CMYKcmyk(2.7%, 0%, 79.6%, 27.1%)
CIE-LABlab(72.95, -18.42, 67.58)
CIE-LCHlch(72.95, 70.05, 105.24°)
OKLaboklab(76.05% -0.0582 0.1467)
OKLCHoklch(76.05% 0.158 111.7)
XYZxyz(36.9661, 45.0825, 8.5879)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA26 #2B26BA
analogous
#BA7526 #B5BA26 #6BBA26
triadic
#B5BA26 #26B5BA #BA26B5
tetradic
#B5BA26 #26BA75 #2B26BA #BA266B
square
#B5BA26 #26BA75 #2B26BA #BA266B
split-complementary
#B5BA26 #266BBA #7526BA
monochromatic
#525411 #84871C #B5BA26 #D4D944 #E0E377

Accessibility & contrast

On white

2.10
#B5BA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#B5BA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BA26
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BA26#FFFFFF#000000##000000
##B5BA261.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#C2AE9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5ba26;
/* rgb */ color: rgb(181, 186, 38);
/* oklch */ color: oklch(76.0% 0.158 111.7);
Tailwind
colors: {
  custom: {
    50: '#cfce6f',
    500: '#b5ba26',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba26;
$custom-light: #cfce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba26",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 62.027,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.76047,
    "c": 0.15783,
    "h": 111.7
  },
  "luminance": 0.45082
}

Semantic roles & 50–950 ramp

primary
#B5BA26
secondary
#7471CB
accent
#3FE945
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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