#B7BF56#B7BF56

#B7BF56 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.7% C 0.129 H 113.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B7BF56
RGBrgb(183, 191, 86)
HSLhsl(65, 45%, 54%)
HSVhsv(65, 55%, 75%)
CMYKcmyk(4.2%, 0%, 55%, 25.1%)
CIE-LABlab(74.83, -17.30, 51.13)
CIE-LCHlch(74.83, 53.97, 108.69°)
OKLaboklab(77.7% -0.0506 0.1192)
OKLCHoklch(77.7% 0.129 113)
XYZxyz(39.8398, 48.0015, 15.9688)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF56 #5E56BF
analogous
#BF9256 #B7BF56 #83BF56
triadic
#B7BF56 #56B7BF #BF56B7
tetradic
#B7BF56 #56BF92 #5E56BF #BF5683
square
#B7BF56 #56BF92 #5E56BF #BF5683
split-complementary
#B7BF56 #5683BF #9256BF
monochromatic
#6B702A #959D3B #B7BF56 #CAD082 #DDE1AF

Accessibility & contrast

On white

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

On black

10.60
#B7BF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF56
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF56#FFFFFF#000000##000000
##B7BF561.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74B
Deuteranopia (green-blind)
#CCB95C
Tritanopia (blue-blind)
#C2B5A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf56;
/* rgb */ color: rgb(183, 191, 86);
/* oklch */ color: oklch(77.7% 0.129 113.0);
Tailwind
colors: {
  custom: {
    50: '#cfd289',
    500: '#b7bf56',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf56;
$custom-light: #cfd289;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf56",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 64.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77699,
    "c": 0.12946,
    "h": 113
  },
  "luminance": 0.48001
}

Semantic roles & 50–950 ramp

primary
#B7BF56
secondary
#A6A2CF
accent
#53D55D
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B7BF56

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

Preview Lab → · Contrast checker → · Palette generator →

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