#B0BF40#B0BF40

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

Color values

HEX#B0BF40
RGBrgb(176, 191, 64)
HSLhsl(67, 50%, 50%)
HSVhsv(67, 66%, 75%)
CMYKcmyk(7.9%, 0%, 66.5%, 25.1%)
CIE-LABlab(74.10, -21.77, 59.67)
CIE-LCHlch(74.10, 63.52, 110.05°)
OKLaboklab(76.93% -0.065 0.1346)
OKLCHoklch(76.93% 0.149 115.8)
XYZxyz(37.4616, 46.8624, 11.9214)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BF40 #4F40BF
analogous
#BF8F40 #B0BF40 #70BF40
triadic
#B0BF40 #40B0BF #BF40B0
tetradic
#B0BF40 #40BF8F #4F40BF #BF4070
square
#B0BF40 #40BF8F #4F40BF #BF4070
split-complementary
#B0BF40 #4070BF #8F40BF
monochromatic
#5C6321 #869131 #B0BF40 #C3CE6E #D6DE9C

Accessibility & contrast

On white

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

On black

10.37
#B0BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0BF40
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0BF40#FFFFFF#000000##000000
##B0BF401.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0bf40;
/* rgb */ color: rgb(176, 191, 64);
/* oklch */ color: oklch(76.9% 0.149 115.8);
Tailwind
colors: {
  custom: {
    50: '#cbd27c',
    500: '#b0bf40',
    950: '#000000',
  },
}
SCSS
$custom: #b0bf40;
$custom-light: #cbd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0bf40",
  "rgb": {
    "r": 176,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 67.087,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.76925,
    "c": 0.14944,
    "h": 115.8
  },
  "luminance": 0.46862
}

Semantic roles & 50–950 ramp

primary
#B0BF40
secondary
#9891CA
accent
#4ED95F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B0BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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