#B4BA33#B4BA33

#B4BA33 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.151 H 112.1°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#B4BA33
RGBrgb(180, 186, 51)
HSLhsl(63, 57%, 46%)
HSVhsv(63, 73%, 73%)
CMYKcmyk(3.2%, 0%, 72.6%, 27.1%)
CIE-LABlab(72.93, -18.31, 63.46)
CIE-LCHlch(72.93, 66.04, 106.10°)
OKLaboklab(76.04% -0.0568 0.1403)
OKLCHoklch(76.04% 0.151 112.1)
XYZxyz(36.9800, 45.0610, 9.8810)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA33 #3933BA
analogous
#BA7D33 #B4BA33 #71BA33
triadic
#B4BA33 #33B4BA #BA33B4
tetradic
#B4BA33 #33BA7D #3933BA #BA3371
square
#B4BA33 #33BA7D #3933BA #BA3371
split-complementary
#B4BA33 #3371BA #7D33BA
monochromatic
#575A19 #868A26 #B4BA33 #CCD159 #DBDF89

Accessibility & contrast

On white

2.10
#B4BA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#B4BA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA33
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA33#FFFFFF#000000##000000
##B4BA331.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B119
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#C0AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba33;
/* rgb */ color: rgb(180, 186, 51);
/* oklch */ color: oklch(76.0% 0.151 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece74',
    500: '#b4ba33',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba33;
$custom-light: #cece74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba33",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 62.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76037,
    "c": 0.15134,
    "h": 112.1
  },
  "luminance": 0.4506
}

Semantic roles & 50–950 ramp

primary
#B4BA33
secondary
#8380C9
accent
#48E04E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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