#B3BF40#B3BF40

#B3BF40 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.149 H 114.5°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#B3BF40
RGBrgb(179, 191, 64)
HSLhsl(66, 50%, 50%)
HSVhsv(66, 66%, 75%)
CMYKcmyk(6.3%, 0%, 66.5%, 25.1%)
CIE-LABlab(74.33, -20.53, 59.97)
CIE-LCHlch(74.33, 63.39, 108.89°)
OKLaboklab(77.16% -0.0617 0.1351)
OKLCHoklch(77.16% 0.149 114.5)
XYZxyz(38.1476, 47.2161, 11.9536)
Luminance0.4722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BF40 #4C40BF
analogous
#BF8B40 #B3BF40 #74BF40
triadic
#B3BF40 #40B3BF #BF40B3
tetradic
#B3BF40 #40BF8B #4C40BF #BF4074
square
#B3BF40 #40BF8B #4C40BF #BF4074
split-complementary
#B3BF40 #4074BF #8B40BF
monochromatic
#5D6321 #889131 #B3BF40 #C5CE6E #D7DE9C

Accessibility & contrast

On white

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

On black

10.44
#B3BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BF40
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BF40#FFFFFF#000000##000000
##B3BF401.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#BEB4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b3bf40;
/* rgb */ color: rgb(179, 191, 64);
/* oklch */ color: oklch(77.2% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#cdd27c',
    500: '#b3bf40',
    950: '#000000',
  },
}
SCSS
$custom: #b3bf40;
$custom-light: #cdd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bf40",
  "rgb": {
    "r": 179,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 65.669,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77163,
    "c": 0.14853,
    "h": 114.5
  },
  "luminance": 0.47215
}

Semantic roles & 50–950 ramp

primary
#B3BF40
secondary
#9691CA
accent
#4ED95C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B3BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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