#B1BF30#B1BF30

#B1BF30 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.159 H 115.2°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B1BF30
RGBrgb(177, 191, 48)
HSLhsl(66, 60%, 47%)
HSVhsv(66, 75%, 75%)
CMYKcmyk(7.3%, 0%, 74.9%, 25.1%)
CIE-LABlab(74.08, -22.20, 65.47)
CIE-LCHlch(74.08, 69.13, 108.74°)
OKLaboklab(76.89% -0.0677 0.1441)
OKLCHoklch(76.89% 0.159 115.2)
XYZxyz(37.2968, 46.8228, 9.8687)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BF30 #3E30BF
analogous
#BF8630 #B1BF30 #6ABF30
triadic
#B1BF30 #30B1BF #BF30B1
tetradic
#B1BF30 #30BF86 #3E30BF #BF306A
square
#B1BF30 #30BF86 #3E30BF #BF306A
split-complementary
#B1BF30 #306ABF #8630BF
monochromatic
#565D17 #848E24 #B1BF30 #C9D557 #D8E188

Accessibility & contrast

On white

2.03
#B1BF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#B1BF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BF30
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BF30#FFFFFF#000000##000000
##B1BF301.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50E
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#BDB4A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b1bf30;
/* rgb */ color: rgb(177, 191, 48);
/* oklch */ color: oklch(76.9% 0.159 115.2);
Tailwind
colors: {
  custom: {
    50: '#ccd273',
    500: '#b1bf30',
    950: '#000000',
  },
}
SCSS
$custom: #b1bf30;
$custom-light: #ccd273;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bf30",
  "rgb": {
    "r": 177,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 65.874,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76892,
    "c": 0.15922,
    "h": 115.2
  },
  "luminance": 0.46822
}

Semantic roles & 50–950 ramp

primary
#B1BF30
secondary
#8780CB
accent
#45E354
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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