#B0BA2B#B0BA2B

#B0BA2B 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#B0BA2B
RGBrgb(176, 186, 43)
HSLhsl(64, 62%, 45%)
HSVhsv(64, 77%, 73%)
CMYKcmyk(5.4%, 0%, 76.9%, 27.1%)
CIE-LABlab(72.58, -20.37, 65.64)
CIE-LCHlch(72.58, 68.72, 107.24°)
OKLaboklab(75.66% -0.063 0.1436)
OKLCHoklch(75.66% 0.157 113.7)
XYZxyz(35.9006, 44.5231, 8.9877)
Luminance0.4452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BA2B #352BBA
analogous
#BA7D2B #B0BA2B #68BA2B
triadic
#B0BA2B #2BB0BA #BA2BB0
tetradic
#B0BA2B #2BBA7D #352BBA #BA2B68
square
#B0BA2B #2BBA7D #352BBA #BA2B68
split-complementary
#B0BA2B #2B68BA #7D2BBA
monochromatic
#525714 #818820 #B0BA2B #CCD64C #DAE17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0BA2B#FFFFFF#000000##000000
##B0BA2B1.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)
#C8B338
Tritanopia (blue-blind)
#BCAF9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b0ba2b;
/* rgb */ color: rgb(176, 186, 43);
/* oklch */ color: oklch(75.7% 0.157 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbce71',
    500: '#b0ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #b0ba2b;
$custom-light: #cbce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ba2b",
  "rgb": {
    "r": 176,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 64.196,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75662,
    "c": 0.15683,
    "h": 113.7
  },
  "luminance": 0.44522
}

Semantic roles & 50–950 ramp

primary
#B0BA2B
secondary
#7D77CA
accent
#42E64E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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