#B4BF2B#B4BF2B

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

Color values

HEX#B4BF2B
RGBrgb(180, 191, 43)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 77%, 75%)
CMYKcmyk(5.8%, 0%, 77.5%, 25.1%)
CIE-LABlab(74.28, -21.15, 67.30)
CIE-LCHlch(74.28, 70.54, 107.44°)
OKLaboklab(77.1% -0.0654 0.147)
OKLCHoklch(77.1% 0.161 114)
XYZxyz(37.8904, 47.1401, 9.3880)
Luminance0.4714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF2B #362BBF
analogous
#BF802B #B4BF2B #6ABF2B
triadic
#B4BF2B #2BB4BF #BF2BB4
tetradic
#B4BF2B #2BBF80 #362BBF #BF2B6A
square
#B4BF2B #2BBF80 #362BBF #BF2B6A
split-complementary
#B4BF2B #2B6ABF #802BBF
monochromatic
#565B15 #858D20 #B4BF2B #CDD850 #DCE382

Accessibility & contrast

On white

2.01
#B4BF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#B4BF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF2B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF2B#FFFFFF#000000##000000
##B4BF2B1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CDB839
Tritanopia (blue-blind)
#C0B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf2b;
/* rgb */ color: rgb(180, 191, 43);
/* oklch */ color: oklch(77.1% 0.161 114.0);
Tailwind
colors: {
  custom: {
    50: '#ced271',
    500: '#b4bf2b',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf2b;
$custom-light: #ced271;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf2b",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 43
  },
  "hsl": {
    "h": 64.459,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77103,
    "c": 0.16088,
    "h": 114
  },
  "luminance": 0.47139
}

Semantic roles & 50–950 ramp

primary
#B4BF2B
secondary
#807ACC
accent
#42E64E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4BF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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