#B2BF3A#B2BF3A

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

Color values

HEX#B2BF3A
RGBrgb(178, 191, 58)
HSLhsl(66, 53%, 49%)
HSVhsv(66, 70%, 75%)
CMYKcmyk(6.8%, 0%, 69.6%, 25.1%)
CIE-LABlab(74.21, -21.29, 62.13)
CIE-LCHlch(74.21, 65.68, 108.91°)
OKLaboklab(77.04% -0.0644 0.1387)
OKLCHoklch(77.04% 0.153 114.9)
XYZxyz(37.7556, 47.0327, 11.0915)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF3A #473ABF
analogous
#BF8A3A #B2BF3A #70BF3A
triadic
#B2BF3A #3AB2BF #BF3AB2
tetradic
#B2BF3A #3ABF8A #473ABF #BF3A70
square
#B2BF3A #3ABF8A #473ABF #BF3A70
split-complementary
#B2BF3A #3A70BF #8A3ABF
monochromatic
#5B611D #86902C #B2BF3A #C6D066 #D7DF95

Accessibility & contrast

On white

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

On black

10.41
#B2BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BF3A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BF3A#FFFFFF#000000##000000
##B2BF3A1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB524
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#BDB4A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2bf3a;
/* rgb */ color: rgb(178, 191, 58);
/* oklch */ color: oklch(77.0% 0.153 114.9);
Tailwind
colors: {
  custom: {
    50: '#ccd278',
    500: '#b2bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf3a;
$custom-light: #ccd278;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf3a",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 65.865,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77037,
    "c": 0.15292,
    "h": 114.9
  },
  "luminance": 0.47032
}

Semantic roles & 50–950 ramp

primary
#B2BF3A
secondary
#918BCA
accent
#4BDD59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #B2BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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