#B4BA30#B4BA30

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

Color values

HEX#B4BA30
RGBrgb(180, 186, 48)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 73%)
CMYKcmyk(3.2%, 0%, 74.2%, 27.1%)
CIE-LABlab(72.92, -18.45, 64.46)
CIE-LCHlch(72.92, 67.05, 105.97°)
OKLaboklab(76.02% -0.0575 0.1419)
OKLCHoklch(76.02% 0.153 112.1)
XYZxyz(36.9160, 45.0354, 9.5438)
Luminance0.4503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA30 #3630BA
analogous
#BA7B30 #B4BA30 #6FBA30
triadic
#B4BA30 #30B4BA #BA30B4
tetradic
#B4BA30 #30BA7B #3630BA #BA306F
square
#B4BA30 #30BA7B #3630BA #BA306F
split-complementary
#B4BA30 #306FBA #7B30BA
monochromatic
#565917 #858923 #B4BA30 #CDD354 #DCDF85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BA30#FFFFFF#000000##000000
##B4BA301.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)
#C8B111
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#C0AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba30;
/* rgb */ color: rgb(180, 186, 48);
/* oklch */ color: oklch(76.0% 0.153 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece73',
    500: '#b4ba30',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba30;
$custom-light: #cece73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba30",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 62.609,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76018,
    "c": 0.15306,
    "h": 112.1
  },
  "luminance": 0.45035
}

Semantic roles & 50–950 ramp

primary
#B4BA30
secondary
#807DC9
accent
#46E24C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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