#B2BF35#B2BF35

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

Color values

HEX#B2BF35
RGBrgb(178, 191, 53)
HSLhsl(66, 57%, 48%)
HSVhsv(66, 72%, 75%)
CMYKcmyk(6.8%, 0%, 72.3%, 25.1%)
CIE-LABlab(74.18, -21.55, 63.90)
CIE-LCHlch(74.18, 67.44, 108.63°)
OKLaboklab(77% -0.0655 0.1416)
OKLCHoklch(77% 0.156 114.8)
XYZxyz(37.6345, 46.9843, 10.4538)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BF35 #4235BF
analogous
#BF8735 #B2BF35 #6DBF35
triadic
#B2BF35 #35B2BF #BF35B2
tetradic
#B2BF35 #35BF87 #4235BF #BF356D
square
#B2BF35 #35BF87 #4235BF #BF356D
split-complementary
#B2BF35 #356DBF #8735BF
monochromatic
#595F1A #858F28 #B2BF35 #C8D35F #D8E08F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BF35#FFFFFF#000000##000000
##B2BF351.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)
#CDB51B
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#BEB4A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2bf35;
/* rgb */ color: rgb(178, 191, 53);
/* oklch */ color: oklch(77.0% 0.156 114.8);
Tailwind
colors: {
  custom: {
    50: '#ccd276',
    500: '#b2bf35',
    950: '#000000',
  },
}
SCSS
$custom: #b2bf35;
$custom-light: #ccd276;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bf35",
  "rgb": {
    "r": 178,
    "g": 191,
    "b": 53
  },
  "hsl": {
    "h": 65.652,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77002,
    "c": 0.15605,
    "h": 114.8
  },
  "luminance": 0.46984
}

Semantic roles & 50–950 ramp

primary
#B2BF35
secondary
#8C85CA
accent
#48E056
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BF35

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

Preview Lab → · Contrast checker → · Palette generator →

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