#B2BF37#B2BF37

#B2BF37 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.155 H 114.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#B2BF37
RGBrgb(178, 191, 55)
HSLhsl(66, 55%, 48%)
HSVhsv(66, 71%, 75%)
CMYKcmyk(6.8%, 0%, 71.2%, 25.1%)
CIE-LABlab(74.19, -21.45, 63.21)
CIE-LCHlch(74.19, 66.75, 108.74°)
OKLaboklab(77.02% -0.0651 0.1405)
OKLCHoklch(77.02% 0.155 114.9)
XYZxyz(37.6815, 47.0031, 10.7012)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF37 #4437BF
analogous
#BF8837 #B2BF37 #6EBF37
triadic
#B2BF37 #37B2BF #BF37B2
tetradic
#B2BF37 #37BF88 #4437BF #BF376E
square
#B2BF37 #37BF88 #4437BF #BF376E
split-complementary
#B2BF37 #376EBF #8837BF
monochromatic
#59601C #868F29 #B2BF37 #C7D262 #D8DF91

Accessibility & contrast

On white

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

On black

10.40
#B2BF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF37
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF37#FFFFFF#000000##000000
##B2BF371.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB51F
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#BEB4A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2bf37;
/* rgb */ color: rgb(178, 191, 55);
/* oklch */ color: oklch(77.0% 0.155 114.9);
Tailwind
colors: {
  custom: {
    50: '#ccd277',
    500: '#b2bf37',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf37;
$custom-light: #ccd277;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf37",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 55
  },
  "hsl": {
    "h": 65.735,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77016,
    "c": 0.15483,
    "h": 114.9
  },
  "luminance": 0.47002
}

Semantic roles & 50–950 ramp

primary
#B2BF37
secondary
#8E88CA
accent
#49DF57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BF37

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

Preview Lab → · Contrast checker → · Palette generator →

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