#B7B732#B7B732

#B7B732 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.148 H 109.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B7B732
RGBrgb(183, 183, 50)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 73%, 72%)
CMYKcmyk(0%, 0%, 72.7%, 28.2%)
CIE-LABlab(72.34, -15.56, 63.32)
CIE-LCHlch(72.34, 65.21, 103.81°)
OKLaboklab(75.62% -0.0494 0.1397)
OKLCHoklch(75.62% 0.148 109.5)
XYZxyz(37.0390, 44.1657, 9.5907)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B732 #3232B7
analogous
#B77432 #B7B732 #74B732
triadic
#B7B732 #32B7B7 #B732B7
tetradic
#B7B732 #32B774 #3232B7 #B73274
square
#B7B732 #32B774 #3232B7 #B73274
split-complementary
#B7B732 #3274B7 #7432B7
monochromatic
#575718 #878725 #B7B732 #D1D156 #DEDE86

Accessibility & contrast

On white

2.14
#B7B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B7B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B732
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B732#FFFFFF#000000##000000
##B7B7321.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF18
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#C4AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b732;
/* rgb */ color: rgb(183, 183, 50);
/* oklch */ color: oklch(75.6% 0.148 109.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc74',
    500: '#b7b732',
    950: '#000000',
  },
}
SCSS
$custom: #b7b732;
$custom-light: #d0cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b732",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7562,
    "c": 0.14818,
    "h": 109.5
  },
  "luminance": 0.44165
}

Semantic roles & 50–950 ramp

primary
#B7B732
secondary
#7D7DC7
accent
#47E047
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B732

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

Preview Lab → · Contrast checker → · Palette generator →

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