#B4BA26#B4BA26

#B4BA26 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.0% C 0.158 H 112.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#B4BA26
RGBrgb(180, 186, 38)
HSLhsl(62, 66%, 44%)
HSVhsv(62, 80%, 73%)
CMYKcmyk(3.2%, 0%, 79.6%, 27.1%)
CIE-LABlab(72.87, -18.85, 67.48)
CIE-LCHlch(72.87, 70.07, 105.60°)
OKLaboklab(75.96% -0.0594 0.1465)
OKLCHoklch(75.96% 0.158 112.1)
XYZxyz(36.7324, 44.9620, 8.5769)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA26 #2C26BA
analogous
#BA7626 #B4BA26 #6ABA26
triadic
#B4BA26 #26B4BA #BA26B4
tetradic
#B4BA26 #26BA76 #2C26BA #BA266A
square
#B4BA26 #26BA76 #2C26BA #BA266A
split-complementary
#B4BA26 #266ABA #7626BA
monochromatic
#525411 #83871C #B4BA26 #D3D944 #DFE377

Accessibility & contrast

On white

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

On black

9.99
#B4BA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA26
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA26#FFFFFF#000000##000000
##B4BA261.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C9B434
Tritanopia (blue-blind)
#C1AE9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba26;
/* rgb */ color: rgb(180, 186, 38);
/* oklch */ color: oklch(76.0% 0.158 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece6f',
    500: '#b4ba26',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba26;
$custom-light: #cece6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba26",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 62.432,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75964,
    "c": 0.15809,
    "h": 112.1
  },
  "luminance": 0.44961
}

Semantic roles & 50–950 ramp

primary
#B4BA26
secondary
#7571CB
accent
#3FE946
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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