#B2BF3E#B2BF3E

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

Color values

HEX#B2BF3E
RGBrgb(178, 191, 62)
HSLhsl(66, 51%, 50%)
HSVhsv(66, 68%, 75%)
CMYKcmyk(6.8%, 0%, 67.5%, 25.1%)
CIE-LABlab(74.24, -21.06, 60.64)
CIE-LCHlch(74.24, 64.19, 109.15°)
OKLaboklab(77.07% -0.0633 0.1362)
OKLCHoklch(77.07% 0.15 114.9)
XYZxyz(37.8614, 47.0750, 11.6484)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF3E #4B3EBF
analogous
#BF8C3E #B2BF3E #71BF3E
triadic
#B2BF3E #3EB2BF #BF3EB2
tetradic
#B2BF3E #3EBF8C #4B3EBF #BF3E71
square
#B2BF3E #3EBF8C #4B3EBF #BF3E71
split-complementary
#B2BF3E #3E71BF #8C3EBF
monochromatic
#5C6320 #87912F #B2BF3E #C5CF6B #D7DE99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BF3E#FFFFFF#000000##000000
##B2BF3E1.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)
#CCB62B
Deuteranopia (green-blind)
#CCB847
Tritanopia (blue-blind)
#BDB4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2bf3e;
/* rgb */ color: rgb(178, 191, 62);
/* oklch */ color: oklch(77.1% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#ccd27b',
    500: '#b2bf3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf3e;
$custom-light: #ccd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf3e",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 62
  },
  "hsl": {
    "h": 66.047,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77067,
    "c": 0.15024,
    "h": 114.9
  },
  "luminance": 0.47074
}

Semantic roles & 50–950 ramp

primary
#B2BF3E
secondary
#958FCA
accent
#4DDA5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2BF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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