#B4BA35#B4BA35

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

Color values

HEX#B4BA35
RGBrgb(180, 186, 53)
HSLhsl(63, 56%, 47%)
HSVhsv(63, 72%, 73%)
CMYKcmyk(3.2%, 0%, 71.5%, 27.1%)
CIE-LABlab(72.94, -18.21, 62.76)
CIE-LCHlch(72.94, 65.35, 106.18°)
OKLaboklab(76.05% -0.0564 0.1392)
OKLCHoklch(76.05% 0.15 112.1)
XYZxyz(37.0251, 45.0790, 10.1182)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA35 #3B35BA
analogous
#BA7E35 #B4BA35 #72BA35
triadic
#B4BA35 #35B4BA #BA35B4
tetradic
#B4BA35 #35BA7E #3B35BA #BA3572
square
#B4BA35 #35BA7E #3B35BA #BA3572
split-complementary
#B4BA35 #3572BA #7E35BA
monochromatic
#585B1A #868A27 #B4BA35 #CBD05C #DADE8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BA35#FFFFFF#000000##000000
##B4BA351.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)
#C8B11D
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#C0AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba35;
/* rgb */ color: rgb(180, 186, 53);
/* oklch */ color: oklch(76.0% 0.150 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece75',
    500: '#b4ba35',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba35;
$custom-light: #cece75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba35",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 62.707,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7605,
    "c": 0.15013,
    "h": 112.1
  },
  "luminance": 0.45078
}

Semantic roles & 50–950 ramp

primary
#B4BA35
secondary
#8682C8
accent
#49DF50
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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