#B2BF54#B2BF54

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

Color values

HEX#B2BF54
RGBrgb(178, 191, 84)
HSLhsl(67, 46%, 54%)
HSVhsv(67, 56%, 75%)
CMYKcmyk(6.8%, 0%, 56%, 25.1%)
CIE-LABlab(74.42, -19.51, 51.48)
CIE-LCHlch(74.42, 55.06, 110.76°)
OKLaboklab(77.28% -0.0568 0.1198)
OKLCHoklch(77.28% 0.133 115.3)
XYZxyz(38.5918, 47.3672, 15.4956)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF54 #6154BF
analogous
#BF9754 #B2BF54 #7DBF54
triadic
#B2BF54 #54B2BF #BF54B2
tetradic
#B2BF54 #54BF97 #6154BF #BF547D
square
#B2BF54 #54BF97 #6154BF #BF547D
split-complementary
#B2BF54 #547DBF #9754BF
monochromatic
#676F2A #909C3A #B2BF54 #C6D081 #DAE0AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BF54#FFFFFF#000000##000000
##B2BF541.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)
#CBB649
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#BCB5A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf54;
/* rgb */ color: rgb(178, 191, 84);
/* oklch */ color: oklch(77.3% 0.133 115.3);
Tailwind
colors: {
  custom: {
    50: '#cbd288',
    500: '#b2bf54',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf54;
$custom-light: #cbd288;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf54",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 67.29,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77276,
    "c": 0.13258,
    "h": 115.3
  },
  "luminance": 0.47367
}

Semantic roles & 50–950 ramp

primary
#B2BF54
secondary
#A6A1CE
accent
#53D562
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B2BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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