#B1BF34#B1BF34

#B1BF34 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.157 H 115.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#B1BF34
RGBrgb(177, 191, 52)
HSLhsl(66, 57%, 48%)
HSVhsv(66, 73%, 75%)
CMYKcmyk(7.3%, 0%, 72.8%, 25.1%)
CIE-LABlab(74.10, -22.02, 64.14)
CIE-LCHlch(74.10, 67.82, 108.94°)
OKLaboklab(76.92% -0.0669 0.142)
OKLCHoklch(76.92% 0.157 115.2)
XYZxyz(37.3831, 46.8573, 10.3232)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BF34 #4234BF
analogous
#BF8734 #B1BF34 #6CBF34
triadic
#B1BF34 #34B1BF #BF34B1
tetradic
#B1BF34 #34BF87 #4234BF #BF346C
square
#B1BF34 #34BF87 #4234BF #BF346C
split-complementary
#B1BF34 #346CBF #8734BF
monochromatic
#585F1A #848F27 #B1BF34 #C7D35D #D8E08D

Accessibility & contrast

On white

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

On black

10.37
#B1BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BF34
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BF34#FFFFFF#000000##000000
##B1BF341.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB518
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#BCB4A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b1bf34;
/* rgb */ color: rgb(177, 191, 52);
/* oklch */ color: oklch(76.9% 0.157 115.2);
Tailwind
colors: {
  custom: {
    50: '#ccd275',
    500: '#b1bf34',
    950: '#000000',
  },
}
SCSS
$custom: #b1bf34;
$custom-light: #ccd275;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bf34",
  "rgb": {
    "r": 177,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 66.043,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76916,
    "c": 0.15695,
    "h": 115.2
  },
  "luminance": 0.46857
}

Semantic roles & 50–950 ramp

primary
#B1BF34
secondary
#8B84CA
accent
#47E057
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #B1BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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