#B1BF45#B1BF45

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

Color values

HEX#B1BF45
RGBrgb(177, 191, 69)
HSLhsl(67, 49%, 51%)
HSVhsv(67, 64%, 75%)
CMYKcmyk(7.3%, 0%, 63.9%, 25.1%)
CIE-LABlab(74.21, -21.04, 57.78)
CIE-LCHlch(74.21, 61.50, 110.01°)
OKLaboklab(77.05% -0.0625 0.1313)
OKLCHoklch(77.05% 0.145 115.5)
XYZxyz(37.8373, 47.0390, 12.7153)
Luminance0.4704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BF45 #5345BF
analogous
#BF9045 #B1BF45 #74BF45
triadic
#B1BF45 #45B1BF #BF45B1
tetradic
#B1BF45 #45BF90 #5345BF #BF4574
square
#B1BF45 #45BF90 #5345BF #BF4574
split-complementary
#B1BF45 #4574BF #9045BF
monochromatic
#5F6623 #899433 #B1BF45 #C4CF73 #D7DEA0

Accessibility & contrast

On white

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

On black

10.41
#B1BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BF45
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BF45#FFFFFF#000000##000000
##B1BF451.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB635
Deuteranopia (green-blind)
#CBB74D
Tritanopia (blue-blind)
#BCB5A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b1bf45;
/* rgb */ color: rgb(177, 191, 69);
/* oklch */ color: oklch(77.0% 0.145 115.5);
Tailwind
colors: {
  custom: {
    50: '#cbd27f',
    500: '#b1bf45',
    950: '#000000',
  },
}
SCSS
$custom: #b1bf45;
$custom-light: #cbd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bf45",
  "rgb": {
    "r": 177,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 66.885,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77047,
    "c": 0.14543,
    "h": 115.5
  },
  "luminance": 0.47038
}

Semantic roles & 50–950 ramp

primary
#B1BF45
secondary
#9B95CB
accent
#4FD85F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #B1BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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