#B8B732#B8B732

#B8B732 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.148 H 109.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#B8B732
RGBrgb(184, 183, 50)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 73%, 72%)
CMYKcmyk(0%, 0.5%, 72.8%, 27.8%)
CIE-LABlab(72.42, -15.13, 63.43)
CIE-LCHlch(72.42, 65.21, 103.42°)
OKLaboklab(75.71% -0.0483 0.1399)
OKLCHoklch(75.71% 0.148 109)
XYZxyz(37.2777, 44.2888, 9.6019)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B732 #3233B8
analogous
#B87432 #B8B732 #76B832
triadic
#B8B732 #32B8B7 #B732B8
tetradic
#B8B732 #32B874 #3233B8 #B83276
square
#B8B732 #32B874 #3233B8 #B83276
split-complementary
#B8B732 #3276B8 #7432B8
monochromatic
#585718 #888725 #B8B732 #D1D056 #DEDE86

Accessibility & contrast

On white

2.13
#B8B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#B8B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B732
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B732#FFFFFF#000000##000000
##B8B7321.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF18
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b732;
/* rgb */ color: rgb(184, 183, 50);
/* oklch */ color: oklch(75.7% 0.148 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1cc74',
    500: '#b8b732',
    950: '#000000',
  },
}
SCSS
$custom: #b8b732;
$custom-light: #d1cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b732",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 59.552,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75706,
    "c": 0.14798,
    "h": 109
  },
  "luminance": 0.44288
}

Semantic roles & 50–950 ramp

primary
#B8B732
secondary
#7E7FC8
accent
#48E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B732

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

Preview Lab → · Contrast checker → · Palette generator →

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