#B0BA28#B0BA28

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

Color values

HEX#B0BA28
RGBrgb(176, 186, 40)
HSLhsl(64, 65%, 44%)
HSVhsv(64, 78%, 73%)
CMYKcmyk(5.4%, 0%, 78.5%, 27.1%)
CIE-LABlab(72.56, -20.48, 66.52)
CIE-LCHlch(72.56, 69.61, 107.11°)
OKLaboklab(75.65% -0.0636 0.145)
OKLCHoklch(75.65% 0.158 113.7)
XYZxyz(35.8475, 44.5019, 8.7084)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BA28 #3228BA
analogous
#BA7B28 #B0BA28 #67BA28
triadic
#B0BA28 #28B0BA #BA28B0
tetradic
#B0BA28 #28BA7B #3228BA #BA2867
square
#B0BA28 #28BA7B #3228BA #BA2867
split-complementary
#B0BA28 #2867BA #7B28BA
monochromatic
#515512 #80881D #B0BA28 #CED848 #DBE27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b0ba28;
/* rgb */ color: rgb(176, 186, 40);
/* oklch */ color: oklch(75.6% 0.158 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbce6f',
    500: '#b0ba28',
    950: '#000000',
  },
}
SCSS
$custom: #b0ba28;
$custom-light: #cbce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ba28",
  "rgb": {
    "r": 176,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 64.11,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75646,
    "c": 0.1583,
    "h": 113.7
  },
  "luminance": 0.44501
}

Semantic roles & 50–950 ramp

primary
#B0BA28
secondary
#7973CA
accent
#40E84C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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