#B5BA35#B5BA35

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

Color values

HEX#B5BA35
RGBrgb(181, 186, 53)
HSLhsl(62, 56%, 47%)
HSVhsv(62, 72%, 73%)
CMYKcmyk(2.7%, 0%, 71.5%, 27.1%)
CIE-LABlab(73.02, -17.79, 62.87)
CIE-LCHlch(73.02, 65.33, 105.80°)
OKLaboklab(76.13% -0.0552 0.1393)
OKLCHoklch(76.13% 0.15 111.6)
XYZxyz(37.2588, 45.1995, 10.1292)
Luminance0.4520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA35 #3A35BA
analogous
#BA7D35 #B5BA35 #72BA35
triadic
#B5BA35 #35B5BA #BA35B5
tetradic
#B5BA35 #35BA7D #3A35BA #BA3572
square
#B5BA35 #35BA7D #3A35BA #BA3572
split-complementary
#B5BA35 #3572BA #7D35BA
monochromatic
#585B1A #878A27 #B5BA35 #CCD05C #DBDE8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BA35#FFFFFF#000000##000000
##B5BA351.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)
#C8B21D
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5ba35;
/* rgb */ color: rgb(181, 186, 53);
/* oklch */ color: oklch(76.1% 0.150 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfce75',
    500: '#b5ba35',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba35;
$custom-light: #cfce75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba35",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 62.256,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76133,
    "c": 0.14989,
    "h": 111.6
  },
  "luminance": 0.45199
}

Semantic roles & 50–950 ramp

primary
#B5BA35
secondary
#8582C8
accent
#49DF4E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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