#B0BA2A#B0BA2A

#B0BA2A is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.7% C 0.157 H 113.7°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#B0BA2A
RGBrgb(176, 186, 42)
HSLhsl(64, 63%, 45%)
HSVhsv(64, 77%, 73%)
CMYKcmyk(5.4%, 0%, 77.4%, 27.1%)
CIE-LABlab(72.57, -20.41, 65.94)
CIE-LCHlch(72.57, 69.02, 107.20°)
OKLaboklab(75.66% -0.0632 0.1441)
OKLCHoklch(75.66% 0.157 113.7)
XYZxyz(35.8825, 44.5158, 8.8922)
Luminance0.4451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BA2A #342ABA
analogous
#BA7C2A #B0BA2A #68BA2A
triadic
#B0BA2A #2AB0BA #BA2AB0
tetradic
#B0BA2A #2ABA7C #342ABA #BA2A68
square
#B0BA2A #2ABA7C #342ABA #BA2A68
split-complementary
#B0BA2A #2A68BA #7C2ABA
monochromatic
#525613 #81881F #B0BA2A #CDD64B #DBE27D

Accessibility & contrast

On white

2.12
#B0BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#B0BA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0BA2A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0BA2A#FFFFFF#000000##000000
##B0BA2A1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#BCAF9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b0ba2a;
/* rgb */ color: rgb(176, 186, 42);
/* oklch */ color: oklch(75.7% 0.157 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbce70',
    500: '#b0ba2a',
    950: '#000000',
  },
}
SCSS
$custom: #b0ba2a;
$custom-light: #cbce70;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ba2a",
  "rgb": {
    "r": 176,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 64.167,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75656,
    "c": 0.15732,
    "h": 113.7
  },
  "luminance": 0.44515
}

Semantic roles & 50–950 ramp

primary
#B0BA2A
secondary
#7C76CA
accent
#42E64D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0BA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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