#B1BF38#B1BF38

#B1BF38 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.155 H 115.3°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#B1BF38
RGBrgb(177, 191, 56)
HSLhsl(66, 55%, 48%)
HSVhsv(66, 71%, 75%)
CMYKcmyk(7.3%, 0%, 70.7%, 25.1%)
CIE-LABlab(74.12, -21.81, 62.75)
CIE-LCHlch(74.12, 66.44, 109.17°)
OKLaboklab(76.94% -0.0659 0.1397)
OKLCHoklch(76.94% 0.155 115.3)
XYZxyz(37.4771, 46.8949, 10.8180)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BF38 #4638BF
analogous
#BF8938 #B1BF38 #6DBF38
triadic
#B1BF38 #38B1BF #BF38B1
tetradic
#B1BF38 #38BF89 #4638BF #BF386D
square
#B1BF38 #38BF89 #4638BF #BF386D
split-complementary
#B1BF38 #386DBF #8938BF
monochromatic
#59601C #85902A #B1BF38 #C6D163 #D7DF92

Accessibility & contrast

On white

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

On black

10.38
#B1BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BF38
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BF38#FFFFFF#000000##000000
##B1BF381.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1bf38;
/* rgb */ color: rgb(177, 191, 56);
/* oklch */ color: oklch(76.9% 0.155 115.3);
Tailwind
colors: {
  custom: {
    50: '#ccd277',
    500: '#b1bf38',
    950: '#000000',
  },
}
SCSS
$custom: #b1bf38;
$custom-light: #ccd277;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bf38",
  "rgb": {
    "r": 177,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 66.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.15451,
    "h": 115.3
  },
  "luminance": 0.46894
}

Semantic roles & 50–950 ramp

primary
#B1BF38
secondary
#8F89CA
accent
#4ADE59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #B1BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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