#B7BF37#B7BF37

#B7BF37 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.153 H 112.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B7BF37
RGBrgb(183, 191, 55)
HSLhsl(64, 55%, 48%)
HSVhsv(64, 71%, 75%)
CMYKcmyk(4.2%, 0%, 71.2%, 25.1%)
CIE-LABlab(74.58, -19.34, 63.71)
CIE-LCHlch(74.58, 66.58, 106.89°)
OKLaboklab(77.42% -0.0595 0.1414)
OKLCHoklch(77.42% 0.153 112.8)
XYZxyz(38.8500, 47.6056, 10.7559)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF37 #3F37BF
analogous
#BF8337 #B7BF37 #73BF37
triadic
#B7BF37 #37B7BF #BF37B7
tetradic
#B7BF37 #37BF83 #3F37BF #BF3773
square
#B7BF37 #37BF83 #3F37BF #BF3773
split-complementary
#B7BF37 #3773BF #8337BF
monochromatic
#5C601C #898F29 #B7BF37 #CBD262 #DBDF91

Accessibility & contrast

On white

2.00
#B7BF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B7BF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF37
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF37#FFFFFF#000000##000000
##B7BF371.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB61E
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#C3B3A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf37;
/* rgb */ color: rgb(183, 191, 55);
/* oklch */ color: oklch(77.4% 0.153 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d277',
    500: '#b7bf37',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf37;
$custom-light: #d0d277;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf37",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 55
  },
  "hsl": {
    "h": 63.529,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77418,
    "c": 0.15341,
    "h": 112.8
  },
  "luminance": 0.47605
}

Semantic roles & 50–950 ramp

primary
#B7BF37
secondary
#8B88CA
accent
#49DF52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF37

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

Preview Lab → · Contrast checker → · Palette generator →

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