#B4BA46#B4BA46

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

Color values

HEX#B4BA46
RGBrgb(180, 186, 70)
HSLhsl(63, 46%, 50%)
HSVhsv(63, 62%, 73%)
CMYKcmyk(3.2%, 0%, 62.4%, 27.1%)
CIE-LABlab(73.07, -17.22, 56.22)
CIE-LCHlch(73.07, 58.79, 107.03°)
OKLaboklab(76.19% -0.0519 0.1281)
OKLCHoklch(76.19% 0.138 112.1)
XYZxyz(37.4878, 45.2641, 12.5552)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA46 #4C46BA
analogous
#BA8646 #B4BA46 #7ABA46
triadic
#B4BA46 #46B4BA #BA46B4
tetradic
#B4BA46 #46BA86 #4C46BA #BA467A
square
#B4BA46 #46BA86 #4C46BA #BA467A
split-complementary
#B4BA46 #467ABA #8646BA
monochromatic
#5E6124 #898E35 #B4BA46 #C6CB73 #D8DB9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b4ba46;
/* rgb */ color: rgb(180, 186, 70);
/* oklch */ color: oklch(76.2% 0.138 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdce7f',
    500: '#b4ba46',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba46;
$custom-light: #cdce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba46",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 63.103,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76186,
    "c": 0.13817,
    "h": 112.1
  },
  "luminance": 0.45263
}

Semantic roles & 50–950 ramp

primary
#B4BA46
secondary
#9794C8
accent
#52D559
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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