#B7B932#B7B932

#B7B932 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.150 H 110.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B7B932
RGBrgb(183, 185, 50)
HSLhsl(61, 57%, 46%)
HSVhsv(61, 73%, 73%)
CMYKcmyk(1.1%, 0%, 73%, 27.5%)
CIE-LABlab(72.89, -16.57, 63.84)
CIE-LCHlch(72.89, 65.96, 104.55°)
OKLaboklab(76.06% -0.0522 0.1408)
OKLCHoklch(76.06% 0.15 110.4)
XYZxyz(37.4544, 44.9965, 9.7292)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B932 #3432B9
analogous
#B97732 #B7B932 #73B932
triadic
#B7B932 #32B7B9 #B932B7
tetradic
#B7B932 #32B977 #3432B9 #B93273
square
#B7B932 #32B977 #3432B9 #B93273
split-complementary
#B7B932 #3273B9 #7732B9
monochromatic
#585918 #878925 #B7B932 #D0D257 #DDDF87

Accessibility & contrast

On white

2.10
#B7B932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#B7B932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B932
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B932#FFFFFF#000000##000000
##B7B9321.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B117
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#C4AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7b932;
/* rgb */ color: rgb(183, 185, 50);
/* oklch */ color: oklch(76.1% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#d0cd74',
    500: '#b7b932',
    950: '#000000',
  },
}
SCSS
$custom: #b7b932;
$custom-light: #d0cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b932",
  "rgb": {
    "r": 183,
    "g": 185,
    "b": 50
  },
  "hsl": {
    "h": 60.889,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7606,
    "c": 0.15018,
    "h": 110.4
  },
  "luminance": 0.44995
}

Semantic roles & 50–950 ramp

primary
#B7B932
secondary
#807FC8
accent
#47E149
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B932

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

Preview Lab → · Contrast checker → · Palette generator →

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