#B7BF50#B7BF50

#B7BF50 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.135 H 112.9°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B7BF50
RGBrgb(183, 191, 80)
HSLhsl(64, 46%, 53%)
HSVhsv(64, 58%, 75%)
CMYKcmyk(4.2%, 0%, 58.1%, 25.1%)
CIE-LABlab(74.77, -17.77, 53.78)
CIE-LCHlch(74.77, 56.64, 108.29°)
OKLaboklab(77.63% -0.0526 0.1242)
OKLCHoklch(77.63% 0.135 112.9)
XYZxyz(39.6081, 47.9088, 14.7487)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF50 #5850BF
analogous
#BF8F50 #B7BF50 #7FBF50
triadic
#B7BF50 #50B7BF #BF50B7
tetradic
#B7BF50 #50BF8F #5850BF #BF507F
square
#B7BF50 #50BF8F #5850BF #BF507F
split-complementary
#B7BF50 #507FBF #8F50BF
monochromatic
#686D28 #939A38 #B7BF50 #C9CF7D #DCE0AA

Accessibility & contrast

On white

1.98
#B7BF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B7BF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF50
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF50#FFFFFF#000000##000000
##B7BF501.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB744
Deuteranopia (green-blind)
#CCB957
Tritanopia (blue-blind)
#C2B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf50;
/* rgb */ color: rgb(183, 191, 80);
/* oklch */ color: oklch(77.6% 0.135 112.9);
Tailwind
colors: {
  custom: {
    50: '#cfd285',
    500: '#b7bf50',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf50;
$custom-light: #cfd285;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf50",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 64.324,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77633,
    "c": 0.13483,
    "h": 112.9
  },
  "luminance": 0.47908
}

Semantic roles & 50–950 ramp

primary
#B7BF50
secondary
#A19DCD
accent
#52D65B
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7BF50

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

Preview Lab → · Contrast checker → · Palette generator →

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