#B2BF45#B2BF45

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

Color values

HEX#B2BF45
RGBrgb(178, 191, 69)
HSLhsl(66, 49%, 51%)
HSVhsv(66, 64%, 75%)
CMYKcmyk(6.8%, 0%, 63.9%, 25.1%)
CIE-LABlab(74.29, -20.63, 57.89)
CIE-LCHlch(74.29, 61.45, 109.61°)
OKLaboklab(77.13% -0.0614 0.1315)
OKLCHoklch(77.13% 0.145 115)
XYZxyz(38.0660, 47.1569, 12.7260)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF45 #5245BF
analogous
#BF8F45 #B2BF45 #75BF45
triadic
#B2BF45 #45B2BF #BF45B2
tetradic
#B2BF45 #45BF8F #5245BF #BF4575
square
#B2BF45 #45BF8F #5245BF #BF4575
split-complementary
#B2BF45 #4575BF #8F45BF
monochromatic
#5F6623 #8A9433 #B2BF45 #C5CF73 #D8DEA0

Accessibility & contrast

On white

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

On black

10.43
#B2BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF45
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF45#FFFFFF#000000##000000
##B2BF451.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB635
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#BDB4A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf45;
/* rgb */ color: rgb(178, 191, 69);
/* oklch */ color: oklch(77.1% 0.145 115.0);
Tailwind
colors: {
  custom: {
    50: '#ccd27f',
    500: '#b2bf45',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf45;
$custom-light: #ccd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf45",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 66.393,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77126,
    "c": 0.14513,
    "h": 115
  },
  "luminance": 0.47156
}

Semantic roles & 50–950 ramp

primary
#B2BF45
secondary
#9B95CB
accent
#4FD85E
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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