#B2BF2F#B2BF2F

#B2BF2F is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.159 H 114.8°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#B2BF2F
RGBrgb(178, 191, 47)
HSLhsl(65, 61%, 47%)
HSVhsv(65, 75%, 75%)
CMYKcmyk(6.8%, 0%, 75.4%, 25.1%)
CIE-LABlab(74.15, -21.83, 65.88)
CIE-LCHlch(74.15, 69.40, 108.33°)
OKLaboklab(76.96% -0.0668 0.1448)
OKLCHoklch(76.96% 0.159 114.8)
XYZxyz(37.5051, 46.9325, 9.7719)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF2F #3C2FBF
analogous
#BF842F #B2BF2F #6ABF2F
triadic
#B2BF2F #2FB2BF #BF2FB2
tetradic
#B2BF2F #2FBF84 #3C2FBF #BF2F6A
square
#B2BF2F #2FBF84 #3C2FBF #BF2F6A
split-complementary
#B2BF2F #2F6ABF #842FBF
monochromatic
#565D17 #848E23 #B2BF2F #CAD556 #D9E187

Accessibility & contrast

On white

2.02
#B2BF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#B2BF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF2F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF2F#FFFFFF#000000##000000
##B2BF2F1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50A
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#BEB4A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2bf2f;
/* rgb */ color: rgb(178, 191, 47);
/* oklch */ color: oklch(77.0% 0.159 114.8);
Tailwind
colors: {
  custom: {
    50: '#cdd273',
    500: '#b2bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf2f;
$custom-light: #cdd273;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf2f",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 65.417,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76965,
    "c": 0.15944,
    "h": 114.8
  },
  "luminance": 0.46932
}

Semantic roles & 50–950 ramp

primary
#B2BF2F
secondary
#867FCB
accent
#44E453
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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