#B4BF54#B4BF54

#B4BF54 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.132 H 114.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B4BF54
RGBrgb(180, 191, 84)
HSLhsl(66, 46%, 54%)
HSVhsv(66, 56%, 75%)
CMYKcmyk(5.8%, 0%, 56%, 25.1%)
CIE-LABlab(74.58, -18.69, 51.70)
CIE-LCHlch(74.58, 54.97, 109.88°)
OKLaboklab(77.44% -0.0546 0.1202)
OKLCHoklch(77.44% 0.132 114.4)
XYZxyz(39.0542, 47.6056, 15.5172)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF54 #5F54BF
analogous
#BF9554 #B4BF54 #7FBF54
triadic
#B4BF54 #54B4BF #BF54B4
tetradic
#B4BF54 #54BF95 #5F54BF #BF547F
square
#B4BF54 #54BF95 #5F54BF #BF547F
split-complementary
#B4BF54 #547FBF #9554BF
monochromatic
#686F2A #929C3A #B4BF54 #C8D081 #DBE0AD

Accessibility & contrast

On white

2.00
#B4BF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B4BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF54
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF54#FFFFFF#000000##000000
##B4BF541.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB749
Deuteranopia (green-blind)
#CBB95A
Tritanopia (blue-blind)
#BEB5A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf54;
/* rgb */ color: rgb(180, 191, 84);
/* oklch */ color: oklch(77.4% 0.132 114.4);
Tailwind
colors: {
  custom: {
    50: '#cdd288',
    500: '#b4bf54',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf54;
$custom-light: #cdd288;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf54",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 66.168,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77435,
    "c": 0.13203,
    "h": 114.4
  },
  "luminance": 0.47605
}

Semantic roles & 50–950 ramp

primary
#B4BF54
secondary
#A5A1CE
accent
#53D560
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B4BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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