#B4BF24#B4BF24

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

Color values

HEX#B4BF24
RGBrgb(180, 191, 36)
HSLhsl(64, 68%, 45%)
HSVhsv(64, 81%, 75%)
CMYKcmyk(5.8%, 0%, 81.2%, 25.1%)
CIE-LABlab(74.25, -21.40, 69.23)
CIE-LCHlch(74.25, 72.46, 107.18°)
OKLaboklab(77.07% -0.0666 0.1499)
OKLCHoklch(77.07% 0.164 113.9)
XYZxyz(37.7728, 47.0931, 8.7688)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF24 #2F24BF
analogous
#BF7D24 #B4BF24 #67BF24
triadic
#B4BF24 #24B4BF #BF24B4
tetradic
#B4BF24 #24BF7D #2F24BF #BF2467
square
#B4BF24 #24BF7D #2F24BF #BF2467
split-complementary
#B4BF24 #2467BF #7D24BF
monochromatic
#535811 #838C1A #B4BF24 #D1DC44 #DEE678

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BF24#FFFFFF#000000##000000
##B4BF241.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)
#CDB834
Tritanopia (blue-blind)
#C0B3A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf24;
/* rgb */ color: rgb(180, 191, 36);
/* oklch */ color: oklch(77.1% 0.164 113.9);
Tailwind
colors: {
  custom: {
    50: '#ced26e',
    500: '#b4bf24',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf24;
$custom-light: #ced26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf24",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 36
  },
  "hsl": {
    "h": 64.258,
    "s": 68.282,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77069,
    "c": 0.16404,
    "h": 113.9
  },
  "luminance": 0.47092
}

Semantic roles & 50–950 ramp

primary
#B4BF24
secondary
#7872CD
accent
#3DEB49
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4BF24

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

Preview Lab → · Contrast checker → · Palette generator →

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