#B4BA3A#B4BA3A

#B4BA3A is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.147 H 112.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#B4BA3A
RGBrgb(180, 186, 58)
HSLhsl(63, 52%, 48%)
HSVhsv(63, 69%, 73%)
CMYKcmyk(3.2%, 0%, 68.8%, 27.1%)
CIE-LABlab(72.98, -17.95, 60.95)
CIE-LCHlch(72.98, 63.54, 106.41°)
OKLaboklab(76.09% -0.0552 0.1362)
OKLCHoklch(76.09% 0.147 112)
XYZxyz(37.1462, 45.1275, 10.7559)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA3A #403ABA
analogous
#BA803A #B4BA3A #74BA3A
triadic
#B4BA3A #3AB4BA #BA3AB4
tetradic
#B4BA3A #3ABA80 #403ABA #BA3A74
square
#B4BA3A #3ABA80 #403ABA #BA3A74
split-complementary
#B4BA3A #3A74BA #803ABA
monochromatic
#5A5D1D #878B2B #B4BA3A #C9CE63 #D9DD92

Accessibility & contrast

On white

2.09
#B4BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#B4BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA3A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA3A#FFFFFF#000000##000000
##B4BA3A1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B226
Deuteranopia (green-blind)
#C8B543
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba3a;
/* rgb */ color: rgb(180, 186, 58);
/* oklch */ color: oklch(76.1% 0.147 112.0);
Tailwind
colors: {
  custom: {
    50: '#cece78',
    500: '#b4ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba3a;
$custom-light: #cece78;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba3a",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 62.813,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76086,
    "c": 0.14694,
    "h": 112
  },
  "luminance": 0.45127
}

Semantic roles & 50–950 ramp

primary
#B4BA3A
secondary
#8B88C8
accent
#4CDC53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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