#B4BF40#B4BF40

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

Color values

HEX#B4BF40
RGBrgb(180, 191, 64)
HSLhsl(65, 50%, 50%)
HSVhsv(65, 66%, 75%)
CMYKcmyk(5.8%, 0%, 66.5%, 25.1%)
CIE-LABlab(74.40, -20.11, 60.07)
CIE-LCHlch(74.40, 63.35, 108.51°)
OKLaboklab(77.24% -0.0606 0.1353)
OKLCHoklch(77.24% 0.148 114.1)
XYZxyz(38.3796, 47.3358, 11.9644)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF40 #4B40BF
analogous
#BF8B40 #B4BF40 #74BF40
triadic
#B4BF40 #40B4BF #BF40B4
tetradic
#B4BF40 #40BF8B #4B40BF #BF4074
square
#B4BF40 #40BF8B #4B40BF #BF4074
split-complementary
#B4BF40 #4074BF #8B40BF
monochromatic
#5E6321 #899131 #B4BF40 #C6CE6E #D8DE9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BF40#FFFFFF#000000##000000
##B4BF401.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)
#CDB62E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#BFB4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf40;
/* rgb */ color: rgb(180, 191, 64);
/* oklch */ color: oklch(77.2% 0.148 114.1);
Tailwind
colors: {
  custom: {
    50: '#cdd27c',
    500: '#b4bf40',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf40;
$custom-light: #cdd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf40",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 65.197,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77243,
    "c": 0.14825,
    "h": 114.1
  },
  "luminance": 0.47335
}

Semantic roles & 50–950 ramp

primary
#B4BF40
secondary
#9691CA
accent
#4ED95B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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