#B7BF42#B7BF42

#B7BF42 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.146 H 112.9°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B7BF42
RGBrgb(183, 191, 66)
HSLhsl(64, 49%, 50%)
HSVhsv(64, 65%, 75%)
CMYKcmyk(4.2%, 0%, 65.4%, 25.1%)
CIE-LABlab(74.65, -18.73, 59.60)
CIE-LCHlch(74.65, 62.48, 107.45°)
OKLaboklab(77.5% -0.0567 0.1345)
OKLCHoklch(77.5% 0.146 112.9)
XYZxyz(39.1437, 47.7231, 12.3027)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF42 #4A42BF
analogous
#BF8842 #B7BF42 #78BF42
triadic
#B7BF42 #42B7BF #BF42B7
tetradic
#B7BF42 #42BF88 #4A42BF #BF4278
square
#B7BF42 #42BF88 #4A42BF #BF4278
split-complementary
#B7BF42 #4278BF #8842BF
monochromatic
#606522 #8C9232 #B7BF42 #C8CE70 #DADE9D

Accessibility & contrast

On white

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

On black

10.54
#B7BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF42
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF42#FFFFFF#000000##000000
##B7BF421.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#C3B4A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bf42;
/* rgb */ color: rgb(183, 191, 66);
/* oklch */ color: oklch(77.5% 0.146 112.9);
Tailwind
colors: {
  custom: {
    50: '#d0d27d',
    500: '#b7bf42',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf42;
$custom-light: #d0d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf42",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 63.84,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77502,
    "c": 0.146,
    "h": 112.9
  },
  "luminance": 0.47722
}

Semantic roles & 50–950 ramp

primary
#B7BF42
secondary
#9693CA
accent
#4FD958
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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