#B4BA43#B4BA43

#B4BA43 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.2% C 0.141 H 112.1°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#B4BA43
RGBrgb(180, 186, 67)
HSLhsl(63, 47%, 50%)
HSVhsv(63, 64%, 73%)
CMYKcmyk(3.2%, 0%, 64%, 27.1%)
CIE-LABlab(73.04, -17.42, 57.45)
CIE-LCHlch(73.04, 60.03, 106.87°)
OKLaboklab(76.16% -0.0527 0.1302)
OKLCHoklch(76.16% 0.141 112.1)
XYZxyz(37.3955, 45.2272, 12.0689)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA43 #4943BA
analogous
#BA8543 #B4BA43 #79BA43
triadic
#B4BA43 #43B4BA #BA43B4
tetradic
#B4BA43 #43BA85 #4943BA #BA4379
square
#B4BA43 #43BA85 #4943BA #BA4379
split-complementary
#B4BA43 #4379BA #8543BA
monochromatic
#5D6023 #888D33 #B4BA43 #C7CB6F #D8DB9C

Accessibility & contrast

On white

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

On black

10.05
#B4BA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA43
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA43#FFFFFF#000000##000000
##B4BA431.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ba43;
/* rgb */ color: rgb(180, 186, 67);
/* oklch */ color: oklch(76.2% 0.141 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdce7d',
    500: '#b4ba43',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba43;
$custom-light: #cdce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba43",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 67
  },
  "hsl": {
    "h": 63.025,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76159,
    "c": 0.1405,
    "h": 112.1
  },
  "luminance": 0.45226
}

Semantic roles & 50–950 ramp

primary
#B4BA43
secondary
#9491C8
accent
#51D758
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BA43

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

Preview Lab → · Contrast checker → · Palette generator →

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