#B4BF22#B4BF22

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

Color values

HEX#B4BF22
RGBrgb(180, 191, 34)
HSLhsl(64, 70%, 44%)
HSVhsv(64, 82%, 75%)
CMYKcmyk(5.8%, 0%, 82.2%, 25.1%)
CIE-LABlab(74.24, -21.46, 69.74)
CIE-LCHlch(74.24, 72.96, 107.11°)
OKLaboklab(77.06% -0.0669 0.1507)
OKLCHoklch(77.06% 0.165 113.9)
XYZxyz(37.7432, 47.0812, 8.6124)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF22 #2D22BF
analogous
#BF7C22 #B4BF22 #66BF22
triadic
#B4BF22 #22B4BF #BF22B4
tetradic
#B4BF22 #22BF7C #2D22BF #BF2266
square
#B4BF22 #22BF7C #2D22BF #BF2266
split-complementary
#B4BF22 #2266BF #7C22BF
monochromatic
#525710 #838B19 #B4BF22 #D2DD41 #DEE675

Accessibility & contrast

On white

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

On black

10.42
#B4BF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF22
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF22#FFFFFF#000000##000000
##B4BF221.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#C1B3A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf22;
/* rgb */ color: rgb(180, 191, 34);
/* oklch */ color: oklch(77.1% 0.165 113.9);
Tailwind
colors: {
  custom: {
    50: '#cfd26e',
    500: '#b4bf22',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf22;
$custom-light: #cfd26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf22",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 34
  },
  "hsl": {
    "h": 64.204,
    "s": 69.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.77061,
    "c": 0.16484,
    "h": 113.9
  },
  "luminance": 0.4708
}

Semantic roles & 50–950 ramp

primary
#B4BF22
secondary
#766FCE
accent
#3BED48
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4BF22

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

Preview Lab → · Contrast checker → · Palette generator →

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