#B7B432#B7B432

#B7B432 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.145 H 108.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B7B432
RGBrgb(183, 180, 50)
HSLhsl(59, 57%, 46%)
HSVhsv(59, 73%, 72%)
CMYKcmyk(0%, 1.6%, 72.7%, 28.2%)
CIE-LABlab(71.52, -14.03, 62.54)
CIE-LCHlch(71.52, 64.09, 102.65°)
OKLaboklab(74.96% -0.0451 0.138)
OKLCHoklch(74.96% 0.145 108.1)
XYZxyz(36.4268, 42.9413, 9.3867)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B432 #3235B7
analogous
#B77232 #B7B432 #77B732
triadic
#B7B432 #32B7B4 #B432B7
tetradic
#B7B432 #32B772 #3235B7 #B73277
square
#B7B432 #32B772 #3235B7 #B73277
split-complementary
#B7B432 #3277B7 #7232B7
monochromatic
#575518 #878525 #B7B432 #D1CE56 #DEDC86

Accessibility & contrast

On white

2.19
#B7B432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B7B432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B432
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B432#FFFFFF#000000##000000
##B7B4321.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD19
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#C4A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b7b432;
/* rgb */ color: rgb(183, 180, 50);
/* oklch */ color: oklch(75.0% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#d0ca73',
    500: '#b7b432',
    950: '#000000',
  },
}
SCSS
$custom: #b7b432;
$custom-light: #d0ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b432",
  "rgb": {
    "r": 183,
    "g": 180,
    "b": 50
  },
  "hsl": {
    "h": 58.647,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74962,
    "c": 0.14523,
    "h": 108.1
  },
  "luminance": 0.4294
}

Semantic roles & 50–950 ramp

primary
#B7B432
secondary
#7D7FC7
accent
#4BE047
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B432

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

Preview Lab → · Contrast checker → · Palette generator →

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