#B2BF5F#B2BF5F

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

Color values

HEX#B2BF5F
RGBrgb(178, 191, 95)
HSLhsl(68, 43%, 56%)
HSVhsv(68, 50%, 75%)
CMYKcmyk(6.8%, 0%, 50.3%, 25.1%)
CIE-LABlab(74.54, -18.54, 46.45)
CIE-LCHlch(74.54, 50.02, 111.76°)
OKLaboklab(77.41% -0.0529 0.11)
OKLCHoklch(77.41% 0.122 115.7)
XYZxyz(39.0570, 47.5533, 17.9454)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF5F #6C5FBF
analogous
#BF9C5F #B2BF5F #82BF5F
triadic
#B2BF5F #5FB2BF #BF5FB2
tetradic
#B2BF5F #5FBF9C #6C5FBF #BF5F82
square
#B2BF5F #5FBF9C #6C5FBF #BF5F82
split-complementary
#B2BF5F #5F82BF #9C5FBF
monochromatic
#6B752F #94A140 #B2BF5F #C7D08B #DCE2B6

Accessibility & contrast

On white

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

On black

10.51
#B2BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF5F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF5F#FFFFFF#000000##000000
##B2BF5F1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB756
Deuteranopia (green-blind)
#C9B864
Tritanopia (blue-blind)
#BBB6A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf5f;
/* rgb */ color: rgb(178, 191, 95);
/* oklch */ color: oklch(77.4% 0.122 115.7);
Tailwind
colors: {
  custom: {
    50: '#cbd28f',
    500: '#b2bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf5f;
$custom-light: #cbd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf5f",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 68.125,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77409,
    "c": 0.12208,
    "h": 115.7
  },
  "luminance": 0.47553
}

Semantic roles & 50–950 ramp

primary
#B2BF5F
secondary
#AEA9D1
accent
#55D366
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #B2BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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