#B4BA37#B4BA37

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

Color values

HEX#B4BA37
RGBrgb(180, 186, 55)
HSLhsl(63, 54%, 47%)
HSVhsv(63, 70%, 73%)
CMYKcmyk(3.2%, 0%, 70.4%, 27.1%)
CIE-LABlab(72.96, -18.11, 62.05)
CIE-LCHlch(72.96, 64.64, 106.27°)
OKLaboklab(76.06% -0.0559 0.138)
OKLCHoklch(76.06% 0.149 112.1)
XYZxyz(37.0720, 45.0978, 10.3656)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA37 #3D37BA
analogous
#BA7F37 #B4BA37 #73BA37
triadic
#B4BA37 #37B4BA #BA37B4
tetradic
#B4BA37 #37BA7F #3D37BA #BA3773
square
#B4BA37 #37BA7F #3D37BA #BA3773
split-complementary
#B4BA37 #3773BA #7F37BA
monochromatic
#595C1B #868B29 #B4BA37 #CAD05F #DADE8E

Accessibility & contrast

On white

2.10
#B4BA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#B4BA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA37
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA37#FFFFFF#000000##000000
##B4BA371.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B120
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#C0AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba37;
/* rgb */ color: rgb(180, 186, 55);
/* oklch */ color: oklch(76.1% 0.149 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece76',
    500: '#b4ba37',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba37;
$custom-light: #cece76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba37",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 62.748,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76064,
    "c": 0.14889,
    "h": 112.1
  },
  "luminance": 0.45097
}

Semantic roles & 50–950 ramp

primary
#B4BA37
secondary
#8885C8
accent
#4ADE51
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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