#B0BF31#B0BF31

#B0BF31 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.8% C 0.159 H 115.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#B0BF31
RGBrgb(176, 191, 49)
HSLhsl(66, 59%, 47%)
HSVhsv(66, 74%, 75%)
CMYKcmyk(7.9%, 0%, 74.3%, 25.1%)
CIE-LABlab(74.01, -22.58, 65.05)
CIE-LCHlch(74.01, 68.85, 109.14°)
OKLaboklab(76.82% -0.0686 0.1434)
OKLCHoklch(76.82% 0.159 115.6)
XYZxyz(37.0907, 46.7141, 9.9679)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BF31 #4031BF
analogous
#BF8731 #B0BF31 #69BF31
triadic
#B0BF31 #31B0BF #BF31B0
tetradic
#B0BF31 #31BF87 #4031BF #BF3169
square
#B0BF31 #31BF87 #4031BF #BF3169
split-complementary
#B0BF31 #3169BF #8731BF
monochromatic
#565E18 #838E25 #B0BF31 #C7D459 #D8E18A

Accessibility & contrast

On white

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

On black

10.34
#B0BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0BF31
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0BF31#FFFFFF#000000##000000
##B0BF311.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#BBB4A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b0bf31;
/* rgb */ color: rgb(176, 191, 49);
/* oklch */ color: oklch(76.8% 0.159 115.6);
Tailwind
colors: {
  custom: {
    50: '#cbd274',
    500: '#b0bf31',
    950: '#000000',
  },
}
SCSS
$custom: #b0bf31;
$custom-light: #cbd274;
$custom-dark: #000000;
JSON
{
  "hex": "#b0bf31",
  "rgb": {
    "r": 176,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 66.338,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76819,
    "c": 0.15899,
    "h": 115.6
  },
  "luminance": 0.46713
}

Semantic roles & 50–950 ramp

primary
#B0BF31
secondary
#8981CB
accent
#45E256
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #B0BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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