#B5BA3A#B5BA3A

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

Color values

HEX#B5BA3A
RGBrgb(181, 186, 58)
HSLhsl(62, 52%, 48%)
HSVhsv(62, 69%, 73%)
CMYKcmyk(2.7%, 0%, 68.8%, 27.1%)
CIE-LABlab(73.05, -17.53, 61.06)
CIE-LCHlch(73.05, 63.52, 106.02°)
OKLaboklab(76.17% -0.054 0.1364)
OKLCHoklch(76.17% 0.147 111.6)
XYZxyz(37.3799, 45.2480, 10.7668)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA3A #3F3ABA
analogous
#BA7F3A #B5BA3A #75BA3A
triadic
#B5BA3A #3AB5BA #BA3AB5
tetradic
#B5BA3A #3ABA7F #3F3ABA #BA3A75
square
#B5BA3A #3ABA7F #3F3ABA #BA3A75
split-complementary
#B5BA3A #3A75BA #7F3ABA
monochromatic
#5A5D1D #888B2B #B5BA3A #CACE63 #DADD92

Accessibility & contrast

On white

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

On black

10.05
#B5BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BA3A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BA3A#FFFFFF#000000##000000
##B5BA3A1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B226
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#C1AFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5ba3a;
/* rgb */ color: rgb(181, 186, 58);
/* oklch */ color: oklch(76.2% 0.147 111.6);
Tailwind
colors: {
  custom: {
    50: '#cece78',
    500: '#b5ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba3a;
$custom-light: #cece78;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba3a",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 62.344,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76169,
    "c": 0.14669,
    "h": 111.6
  },
  "luminance": 0.45247
}

Semantic roles & 50–950 ramp

primary
#B5BA3A
secondary
#8A88C8
accent
#4CDC52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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