#B2BF4F#B2BF4F

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

Color values

HEX#B2BF4F
RGBrgb(178, 191, 79)
HSLhsl(67, 47%, 53%)
HSVhsv(67, 59%, 75%)
CMYKcmyk(6.8%, 0%, 58.6%, 25.1%)
CIE-LABlab(74.38, -19.91, 53.69)
CIE-LCHlch(74.38, 57.26, 110.35°)
OKLaboklab(77.22% -0.0584 0.1239)
OKLCHoklch(77.22% 0.137 115.2)
XYZxyz(38.4030, 47.2917, 14.5008)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF4F #5C4FBF
analogous
#BF944F #B2BF4F #7ABF4F
triadic
#B2BF4F #4FB2BF #BF4FB2
tetradic
#B2BF4F #4FBF94 #5C4FBF #BF4F7A
square
#B2BF4F #4FBF94 #5C4FBF #BF4F7A
split-complementary
#B2BF4F #4F7ABF #944FBF
monochromatic
#646C27 #8E9938 #B2BF4F #C6CF7C #D9E0A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BF4F#FFFFFF#000000##000000
##B2BF4F1.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)
#CBB643
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#BCB5A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf4f;
/* rgb */ color: rgb(178, 191, 79);
/* oklch */ color: oklch(77.2% 0.137 115.2);
Tailwind
colors: {
  custom: {
    50: '#cbd285',
    500: '#b2bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf4f;
$custom-light: #cbd285;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf4f",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 66.964,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77222,
    "c": 0.137,
    "h": 115.2
  },
  "luminance": 0.47291
}

Semantic roles & 50–950 ramp

primary
#B2BF4F
secondary
#A29DCD
accent
#51D661
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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