#B7BF32#B7BF32

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

Color values

HEX#B7BF32
RGBrgb(183, 191, 50)
HSLhsl(63, 59%, 47%)
HSVhsv(63, 74%, 75%)
CMYKcmyk(4.2%, 0%, 73.8%, 25.1%)
CIE-LABlab(74.55, -19.58, 65.41)
CIE-LCHlch(74.55, 68.28, 106.67°)
OKLaboklab(77.39% -0.0606 0.1441)
OKLCHoklch(77.39% 0.156 112.8)
XYZxyz(38.7362, 47.5601, 10.1565)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF32 #3A32BF
analogous
#BF8032 #B7BF32 #71BF32
triadic
#B7BF32 #32B7BF #BF32B7
tetradic
#B7BF32 #32BF80 #3A32BF #BF3271
square
#B7BF32 #32BF80 #3A32BF #BF3271
split-complementary
#B7BF32 #3271BF #8032BF
monochromatic
#5A5E19 #898E25 #B7BF32 #CDD45A #DCE18B

Accessibility & contrast

On white

2.00
#B7BF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#B7BF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF32
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF32#FFFFFF#000000##000000
##B7BF321.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB613
Deuteranopia (green-blind)
#CEB93E
Tritanopia (blue-blind)
#C3B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf32;
/* rgb */ color: rgb(183, 191, 50);
/* oklch */ color: oklch(77.4% 0.156 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d275',
    500: '#b7bf32',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf32;
$custom-light: #d0d275;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf32",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 50
  },
  "hsl": {
    "h": 63.404,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77386,
    "c": 0.15636,
    "h": 112.8
  },
  "luminance": 0.47559
}

Semantic roles & 50–950 ramp

primary
#B7BF32
secondary
#8682CB
accent
#46E24F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF32

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

Preview Lab → · Contrast checker → · Palette generator →

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