#B4BA45#B4BA45

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

Color values

HEX#B4BA45
RGBrgb(180, 186, 69)
HSLhsl(63, 46%, 50%)
HSVhsv(63, 63%, 73%)
CMYKcmyk(3.2%, 0%, 62.9%, 27.1%)
CIE-LABlab(73.06, -17.29, 56.63)
CIE-LCHlch(73.06, 59.21, 106.98°)
OKLaboklab(76.18% -0.0522 0.1288)
OKLCHoklch(76.18% 0.139 112.1)
XYZxyz(37.4565, 45.2516, 12.3904)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA45 #4B45BA
analogous
#BA8645 #B4BA45 #79BA45
triadic
#B4BA45 #45B4BA #BA45B4
tetradic
#B4BA45 #45BA86 #4B45BA #BA4579
square
#B4BA45 #45BA86 #4B45BA #BA4579
split-complementary
#B4BA45 #4579BA #8645BA
monochromatic
#5E6124 #898D34 #B4BA45 #C6CB72 #D8DB9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BA45#FFFFFF#000000##000000
##B4BA451.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)
#C7B236
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#C0AFA2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba45;
/* rgb */ color: rgb(180, 186, 69);
/* oklch */ color: oklch(76.2% 0.139 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdce7e',
    500: '#b4ba45',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba45;
$custom-light: #cdce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba45",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 63.077,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.76177,
    "c": 0.13896,
    "h": 112.1
  },
  "luminance": 0.45251
}

Semantic roles & 50–950 ramp

primary
#B4BA45
secondary
#9693C8
accent
#52D659
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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