#B7BF3A#B7BF3A

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

Color values

HEX#B7BF3A
RGBrgb(183, 191, 58)
HSLhsl(64, 53%, 49%)
HSVhsv(64, 70%, 75%)
CMYKcmyk(4.2%, 0%, 69.6%, 25.1%)
CIE-LABlab(74.59, -19.19, 62.64)
CIE-LCHlch(74.59, 65.51, 107.03°)
OKLaboklab(77.44% -0.0588 0.1397)
OKLCHoklch(77.44% 0.152 112.8)
XYZxyz(38.9241, 47.6352, 11.1462)
Luminance0.4763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF3A #423ABF
analogous
#BF853A #B7BF3A #75BF3A
triadic
#B7BF3A #3AB7BF #BF3AB7
tetradic
#B7BF3A #3ABF85 #423ABF #BF3A75
square
#B7BF3A #3ABF85 #423ABF #BF3A75
split-complementary
#B7BF3A #3A75BF #853ABF
monochromatic
#5D611D #8A902C #B7BF3A #CAD066 #DADF95

Accessibility & contrast

On white

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

On black

10.53
#B7BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF3A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF3A#FFFFFF#000000##000000
##B7BF3A1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB624
Deuteranopia (green-blind)
#CDB944
Tritanopia (blue-blind)
#C3B4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf3a;
/* rgb */ color: rgb(183, 191, 58);
/* oklch */ color: oklch(77.4% 0.152 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d279',
    500: '#b7bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf3a;
$custom-light: #d0d279;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf3a",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 63.609,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77439,
    "c": 0.15152,
    "h": 112.8
  },
  "luminance": 0.47634
}

Semantic roles & 50–950 ramp

primary
#B7BF3A
secondary
#8F8BCA
accent
#4BDD54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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