#B4BF42#B4BF42

#B4BF42 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.147 H 114.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B4BF42
RGBrgb(180, 191, 66)
HSLhsl(65, 49%, 50%)
HSVhsv(65, 65%, 75%)
CMYKcmyk(5.8%, 0%, 65.4%, 25.1%)
CIE-LABlab(74.42, -19.99, 59.29)
CIE-LCHlch(74.42, 62.57, 108.63°)
OKLaboklab(77.26% -0.06 0.134)
OKLCHoklch(77.26% 0.147 114.1)
XYZxyz(38.4375, 47.3590, 12.2696)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF42 #4D42BF
analogous
#BF8B42 #B4BF42 #75BF42
triadic
#B4BF42 #42B4BF #BF42B4
tetradic
#B4BF42 #42BF8B #4D42BF #BF4275
square
#B4BF42 #42BF8B #4D42BF #BF4275
split-complementary
#B4BF42 #4275BF #8B42BF
monochromatic
#5F6522 #8A9232 #B4BF42 #C6CE70 #D8DE9D

Accessibility & contrast

On white

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

On black

10.47
#B4BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF42
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF42#FFFFFF#000000##000000
##B4BF421.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#BFB4A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf42;
/* rgb */ color: rgb(180, 191, 66);
/* oklch */ color: oklch(77.3% 0.147 114.1);
Tailwind
colors: {
  custom: {
    50: '#cdd27d',
    500: '#b4bf42',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf42;
$custom-light: #cdd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf42",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 65.28,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77259,
    "c": 0.1468,
    "h": 114.1
  },
  "luminance": 0.47358
}

Semantic roles & 50–950 ramp

primary
#B4BF42
secondary
#9793CA
accent
#4FD95B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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