#B2BA30#B2BA30

#B2BA30 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.9% C 0.154 H 112.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#B2BA30
RGBrgb(178, 186, 48)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 73%)
CMYKcmyk(4.3%, 0%, 74.2%, 27.1%)
CIE-LABlab(72.76, -19.30, 64.26)
CIE-LCHlch(72.76, 67.09, 106.72°)
OKLaboklab(75.85% -0.0597 0.1415)
OKLCHoklch(75.85% 0.154 112.9)
XYZxyz(36.4537, 44.7970, 9.5221)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA30 #3830BA
analogous
#BA7D30 #B2BA30 #6DBA30
triadic
#B2BA30 #30B2BA #BA30B2
tetradic
#B2BA30 #30BA7D #3830BA #BA306D
square
#B2BA30 #30BA7D #3830BA #BA306D
split-complementary
#B2BA30 #306DBA #7D30BA
monochromatic
#555917 #838923 #B2BA30 #CCD354 #DADF85

Accessibility & contrast

On white

2.11
#B2BA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#B2BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA30
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA30#FFFFFF#000000##000000
##B2BA301.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B111
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#BEAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2ba30;
/* rgb */ color: rgb(178, 186, 48);
/* oklch */ color: oklch(75.9% 0.154 112.9);
Tailwind
colors: {
  custom: {
    50: '#cdce73',
    500: '#b2ba30',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba30;
$custom-light: #cdce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba30",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 63.478,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75854,
    "c": 0.15359,
    "h": 112.9
  },
  "luminance": 0.44796
}

Semantic roles & 50–950 ramp

primary
#B2BA30
secondary
#817DC9
accent
#46E24F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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