#B5BA30#B5BA30

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

Color values

HEX#B5BA30
RGBrgb(181, 186, 48)
HSLhsl(62, 59%, 46%)
HSVhsv(62, 74%, 73%)
CMYKcmyk(2.7%, 0%, 74.2%, 27.1%)
CIE-LABlab(72.99, -18.02, 64.56)
CIE-LCHlch(72.99, 67.03, 105.60°)
OKLaboklab(76.1% -0.0563 0.142)
OKLCHoklch(76.1% 0.153 111.6)
XYZxyz(37.1497, 45.1559, 9.5547)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA30 #3530BA
analogous
#BA7A30 #B5BA30 #70BA30
triadic
#B5BA30 #30B5BA #BA30B5
tetradic
#B5BA30 #30BA7A #3530BA #BA3070
square
#B5BA30 #30BA7A #3530BA #BA3070
split-complementary
#B5BA30 #3070BA #7A30BA
monochromatic
#565917 #868923 #B5BA30 #CED354 #DCDF85

Accessibility & contrast

On white

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

On black

10.03
#B5BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BA30
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BA30#FFFFFF#000000##000000
##B5BA301.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B111
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#C2AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5ba30;
/* rgb */ color: rgb(181, 186, 48);
/* oklch */ color: oklch(76.1% 0.153 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfce73',
    500: '#b5ba30',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba30;
$custom-light: #cfce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba30",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 62.174,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76101,
    "c": 0.15281,
    "h": 111.6
  },
  "luminance": 0.45155
}

Semantic roles & 50–950 ramp

primary
#B5BA30
secondary
#807DC9
accent
#46E24B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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