#B4BF3A#B4BF3A

#B4BF3A is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.152 H 114.1°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#B4BF3A
RGBrgb(180, 191, 58)
HSLhsl(65, 53%, 49%)
HSVhsv(65, 70%, 75%)
CMYKcmyk(5.8%, 0%, 69.6%, 25.1%)
CIE-LABlab(74.36, -20.45, 62.33)
CIE-LCHlch(74.36, 65.60, 108.16°)
OKLaboklab(77.2% -0.0621 0.1391)
OKLCHoklch(77.2% 0.152 114.1)
XYZxyz(38.2180, 47.2711, 11.1131)
Luminance0.4727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF3A #453ABF
analogous
#BF883A #B4BF3A #72BF3A
triadic
#B4BF3A #3AB4BF #BF3AB4
tetradic
#B4BF3A #3ABF88 #453ABF #BF3A72
square
#B4BF3A #3ABF88 #453ABF #BF3A72
split-complementary
#B4BF3A #3A72BF #883ABF
monochromatic
#5C611D #88902C #B4BF3A #C8D066 #D9DF95

Accessibility & contrast

On white

2.01
#B4BF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#B4BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF3A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF3A#FFFFFF#000000##000000
##B4BF3A1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB624
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#C0B4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf3a;
/* rgb */ color: rgb(180, 191, 58);
/* oklch */ color: oklch(77.2% 0.152 114.1);
Tailwind
colors: {
  custom: {
    50: '#ced278',
    500: '#b4bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf3a;
$custom-light: #ced278;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf3a",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 64.962,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77197,
    "c": 0.15234,
    "h": 114.1
  },
  "luminance": 0.4727
}

Semantic roles & 50–950 ramp

primary
#B4BF3A
secondary
#908BCA
accent
#4BDD57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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