#B4BF3F#B4BF3F

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

Color values

HEX#B4BF3F
RGBrgb(180, 191, 63)
HSLhsl(65, 50%, 50%)
HSVhsv(65, 67%, 75%)
CMYKcmyk(5.8%, 0%, 67%, 25.1%)
CIE-LABlab(74.40, -20.17, 60.46)
CIE-LCHlch(74.40, 63.73, 108.45°)
OKLaboklab(77.24% -0.0609 0.136)
OKLCHoklch(77.24% 0.149 114.1)
XYZxyz(38.3514, 47.3245, 11.8159)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF3F #4A3FBF
analogous
#BF8A3F #B4BF3F #74BF3F
triadic
#B4BF3F #3FB4BF #BF3FB4
tetradic
#B4BF3F #3FBF8A #4A3FBF #BF3F74
square
#B4BF3F #3FBF8A #4A3FBF #BF3F74
split-complementary
#B4BF3F #3F74BF #8A3FBF
monochromatic
#5D6321 #899130 #B4BF3F #C6CF6D #D8DE9B

Accessibility & contrast

On white

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

On black

10.46
#B4BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF3F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF3F#FFFFFF#000000##000000
##B4BF3F1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4bf3f;
/* rgb */ color: rgb(180, 191, 63);
/* oklch */ color: oklch(77.2% 0.149 114.1);
Tailwind
colors: {
  custom: {
    50: '#ced27b',
    500: '#b4bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf3f;
$custom-light: #ced27b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf3f",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 65.156,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77235,
    "c": 0.14896,
    "h": 114.1
  },
  "luminance": 0.47324
}

Semantic roles & 50–950 ramp

primary
#B4BF3F
secondary
#9590CA
accent
#4EDA5A
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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