#B2BF3F#B2BF3F

#B2BF3F is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.150 H 115.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#B2BF3F
RGBrgb(178, 191, 63)
HSLhsl(66, 50%, 50%)
HSVhsv(66, 67%, 75%)
CMYKcmyk(6.8%, 0%, 67%, 25.1%)
CIE-LABlab(74.24, -21.00, 60.26)
CIE-LCHlch(74.24, 63.81, 109.22°)
OKLaboklab(77.08% -0.0631 0.1356)
OKLCHoklch(77.08% 0.15 115)
XYZxyz(37.8891, 47.0861, 11.7942)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF3F #4C3FBF
analogous
#BF8C3F #B2BF3F #72BF3F
triadic
#B2BF3F #3FB2BF #BF3FB2
tetradic
#B2BF3F #3FBF8C #4C3FBF #BF3F72
square
#B2BF3F #3FBF8C #4C3FBF #BF3F72
split-complementary
#B2BF3F #3F72BF #8C3FBF
monochromatic
#5C6321 #879130 #B2BF3F #C5CF6D #D7DE9B

Accessibility & contrast

On white

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

On black

10.42
#B2BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF3F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF3F#FFFFFF#000000##000000
##B2BF3F1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62C
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#BDB4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf3f;
/* rgb */ color: rgb(178, 191, 63);
/* oklch */ color: oklch(77.1% 0.150 115.0);
Tailwind
colors: {
  custom: {
    50: '#ccd27b',
    500: '#b2bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf3f;
$custom-light: #ccd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf3f",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 66.094,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77075,
    "c": 0.14954,
    "h": 115
  },
  "luminance": 0.47085
}

Semantic roles & 50–950 ramp

primary
#B2BF3F
secondary
#9690CA
accent
#4EDA5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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