#B4BA49#B4BA49

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

Color values

HEX#B4BA49
RGBrgb(180, 186, 73)
HSLhsl(63, 45%, 51%)
HSVhsv(63, 61%, 73%)
CMYKcmyk(3.2%, 0%, 60.8%, 27.1%)
CIE-LABlab(73.09, -17.02, 54.96)
CIE-LCHlch(73.09, 57.53, 107.20°)
OKLaboklab(76.22% -0.051 0.1258)
OKLCHoklch(76.22% 0.136 112.1)
XYZxyz(37.5849, 45.3030, 13.0665)
Luminance0.4530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA49 #4F49BA
analogous
#BA8749 #B4BA49 #7BBA49
triadic
#B4BA49 #49B4BA #BA49B4
tetradic
#B4BA49 #49BA87 #4F49BA #BA497B
square
#B4BA49 #49BA87 #4F49BA #BA497B
split-complementary
#B4BA49 #497BBA #8749BA
monochromatic
#606326 #8B8F36 #B4BA49 #C6CB75 #D9DCA2

Accessibility & contrast

On white

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

On black

10.06
#B4BA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA49
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA49#FFFFFF#000000##000000
##B4BA491.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23C
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#BFAFA2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba49;
/* rgb */ color: rgb(180, 186, 73);
/* oklch */ color: oklch(76.2% 0.136 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdce81',
    500: '#b4ba49',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba49;
$custom-light: #cdce81;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba49",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 73
  },
  "hsl": {
    "h": 63.186,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76215,
    "c": 0.13575,
    "h": 112.1
  },
  "luminance": 0.45302
}

Semantic roles & 50–950 ramp

primary
#B4BA49
secondary
#9996C8
accent
#53D55A
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4BA49

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

Preview Lab → · Contrast checker → · Palette generator →

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