#B2BF5A#B2BF5A

#B2BF5A is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.127 H 115.5°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#B2BF5A
RGBrgb(178, 191, 90)
HSLhsl(68, 44%, 55%)
HSVhsv(68, 53%, 75%)
CMYKcmyk(6.8%, 0%, 52.9%, 25.1%)
CIE-LABlab(74.49, -19.00, 48.77)
CIE-LCHlch(74.49, 52.34, 111.29°)
OKLaboklab(77.35% -0.0547 0.1146)
OKLCHoklch(77.35% 0.127 115.5)
XYZxyz(38.8370, 47.4653, 16.7867)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF5A #675ABF
analogous
#BF9A5A #B2BF5A #7FBF5A
triadic
#B2BF5A #5AB2BF #BF5AB2
tetradic
#B2BF5A #5ABF9A #675ABF #BF5A7F
square
#B2BF5A #5ABF9A #675ABF #BF5A7F
split-complementary
#B2BF5A #5A7FBF #9A5ABF
monochromatic
#69722C #929E3D #B2BF5A #C7D086 #DBE1B2

Accessibility & contrast

On white

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

On black

10.49
#B2BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF5A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF5A#FFFFFF#000000##000000
##B2BF5A1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB750
Deuteranopia (green-blind)
#CAB860
Tritanopia (blue-blind)
#BCB6A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf5a;
/* rgb */ color: rgb(178, 191, 90);
/* oklch */ color: oklch(77.3% 0.127 115.5);
Tailwind
colors: {
  custom: {
    50: '#cbd28b',
    500: '#b2bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf5a;
$custom-light: #cbd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf5a",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 67.723,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77346,
    "c": 0.12697,
    "h": 115.5
  },
  "luminance": 0.47465
}

Semantic roles & 50–950 ramp

primary
#B2BF5A
secondary
#ABA5D0
accent
#54D464
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B2BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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