#B1BF40#B1BF40

#B1BF40 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.149 H 115.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#B1BF40
RGBrgb(177, 191, 64)
HSLhsl(67, 50%, 50%)
HSVhsv(67, 66%, 75%)
CMYKcmyk(7.3%, 0%, 66.5%, 25.1%)
CIE-LABlab(74.18, -21.36, 59.77)
CIE-LCHlch(74.18, 63.47, 109.66°)
OKLaboklab(77% -0.0639 0.1347)
OKLCHoklch(77% 0.149 115.4)
XYZxyz(37.6886, 46.9795, 11.9320)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BF40 #4E40BF
analogous
#BF8D40 #B1BF40 #72BF40
triadic
#B1BF40 #40B1BF #BF40B1
tetradic
#B1BF40 #40BF8D #4E40BF #BF4072
square
#B1BF40 #40BF8D #4E40BF #BF4072
split-complementary
#B1BF40 #4072BF #8D40BF
monochromatic
#5C6321 #879131 #B1BF40 #C4CE6E #D6DE9C

Accessibility & contrast

On white

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

On black

10.40
#B1BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BF40
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BF40#FFFFFF#000000##000000
##B1BF401.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62E
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#BCB4A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b1bf40;
/* rgb */ color: rgb(177, 191, 64);
/* oklch */ color: oklch(77.0% 0.149 115.4);
Tailwind
colors: {
  custom: {
    50: '#cbd27c',
    500: '#b1bf40',
    950: '#000000',
  },
}
SCSS
$custom: #b1bf40;
$custom-light: #cbd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bf40",
  "rgb": {
    "r": 177,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 66.614,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77004,
    "c": 0.14913,
    "h": 115.4
  },
  "luminance": 0.46979
}

Semantic roles & 50–950 ramp

primary
#B1BF40
secondary
#9791CA
accent
#4ED95E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B1BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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