#B5BA33#B5BA33

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

Color values

HEX#B5BA33
RGBrgb(181, 186, 51)
HSLhsl(62, 57%, 46%)
HSVhsv(62, 73%, 73%)
CMYKcmyk(2.7%, 0%, 72.6%, 27.1%)
CIE-LABlab(73.01, -17.89, 63.56)
CIE-LCHlch(73.01, 66.03, 105.72°)
OKLaboklab(76.12% -0.0557 0.1405)
OKLCHoklch(76.12% 0.151 111.6)
XYZxyz(37.2137, 45.1815, 9.8919)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA33 #3833BA
analogous
#BA7C33 #B5BA33 #72BA33
triadic
#B5BA33 #33B5BA #BA33B5
tetradic
#B5BA33 #33BA7C #3833BA #BA3372
square
#B5BA33 #33BA7C #3833BA #BA3372
split-complementary
#B5BA33 #3372BA #7C33BA
monochromatic
#585A19 #868A26 #B5BA33 #CDD159 #DBDF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BA33#FFFFFF#000000##000000
##B5BA331.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)
#C8B118
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#C2AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5ba33;
/* rgb */ color: rgb(181, 186, 51);
/* oklch */ color: oklch(76.1% 0.151 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfce74',
    500: '#b5ba33',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba33;
$custom-light: #cfce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba33",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 62.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7612,
    "c": 0.15109,
    "h": 111.6
  },
  "luminance": 0.45181
}

Semantic roles & 50–950 ramp

primary
#B5BA33
secondary
#8380C9
accent
#48E04D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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