#B7BF40#B7BF40

#B7BF40 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.147 H 112.8°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B7BF40
RGBrgb(183, 191, 64)
HSLhsl(64, 50%, 50%)
HSVhsv(64, 66%, 75%)
CMYKcmyk(4.2%, 0%, 66.5%, 25.1%)
CIE-LABlab(74.64, -18.85, 60.38)
CIE-LCHlch(74.64, 63.26, 107.34°)
OKLaboklab(77.49% -0.0572 0.1359)
OKLCHoklch(77.49% 0.147 112.8)
XYZxyz(39.0858, 47.6999, 11.9975)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF40 #4840BF
analogous
#BF8840 #B7BF40 #77BF40
triadic
#B7BF40 #40B7BF #BF40B7
tetradic
#B7BF40 #40BF88 #4840BF #BF4077
square
#B7BF40 #40BF88 #4840BF #BF4077
split-complementary
#B7BF40 #4077BF #8840BF
monochromatic
#5F6321 #8B9131 #B7BF40 #C8CE6E #DADE9C

Accessibility & contrast

On white

1.99
#B7BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#B7BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF40
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF40#FFFFFF#000000##000000
##B7BF401.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#C3B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf40;
/* rgb */ color: rgb(183, 191, 64);
/* oklch */ color: oklch(77.5% 0.147 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d27c',
    500: '#b7bf40',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf40;
$custom-light: #d0d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf40",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 63.78,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77485,
    "c": 0.14745,
    "h": 112.8
  },
  "luminance": 0.47699
}

Semantic roles & 50–950 ramp

primary
#B7BF40
secondary
#9591CA
accent
#4ED957
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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