#B7BF51#B7BF51

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

Color values

HEX#B7BF51
RGBrgb(183, 191, 81)
HSLhsl(64, 46%, 53%)
HSVhsv(64, 58%, 75%)
CMYKcmyk(4.2%, 0%, 57.6%, 25.1%)
CIE-LABlab(74.78, -17.70, 53.35)
CIE-LCHlch(74.78, 56.20, 108.35°)
OKLaboklab(77.64% -0.0522 0.1234)
OKLCHoklch(77.64% 0.134 113)
XYZxyz(39.6454, 47.9237, 14.9447)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF51 #5951BF
analogous
#BF9051 #B7BF51 #80BF51
triadic
#B7BF51 #51B7BF #BF51B7
tetradic
#B7BF51 #51BF90 #5951BF #BF5180
square
#B7BF51 #51BF90 #5951BF #BF5180
split-complementary
#B7BF51 #5180BF #9051BF
monochromatic
#686D28 #939A39 #B7BF51 #CACF7E #DCE0AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BF51#FFFFFF#000000##000000
##B7BF511.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)
#CCB745
Deuteranopia (green-blind)
#CCB958
Tritanopia (blue-blind)
#C2B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf51;
/* rgb */ color: rgb(183, 191, 81);
/* oklch */ color: oklch(77.6% 0.134 113.0);
Tailwind
colors: {
  custom: {
    50: '#cfd286',
    500: '#b7bf51',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf51;
$custom-light: #cfd286;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf51",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 64.364,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77644,
    "c": 0.13396,
    "h": 113
  },
  "luminance": 0.47923
}

Semantic roles & 50–950 ramp

primary
#B7BF51
secondary
#A29ECE
accent
#52D65C
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B7BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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