#B8B832#B8B832

#B8B832 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.149 H 109.5°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B8B832
RGBrgb(184, 184, 50)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 73%, 72%)
CMYKcmyk(0%, 0%, 72.8%, 27.8%)
CIE-LABlab(72.70, -15.64, 63.69)
CIE-LCHlch(72.70, 65.58, 103.80°)
OKLaboklab(75.93% -0.0497 0.1405)
OKLCHoklch(75.93% 0.149 109.5)
XYZxyz(37.4847, 44.7027, 9.6709)
Luminance0.4470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B832 #3232B8
analogous
#B87532 #B8B832 #75B832
triadic
#B8B832 #32B8B8 #B832B8
tetradic
#B8B832 #32B875 #3232B8 #B83275
square
#B8B832 #32B875 #3232B8 #B83275
split-complementary
#B8B832 #3275B8 #7532B8
monochromatic
#585818 #888825 #B8B832 #D1D156 #DEDE86

Accessibility & contrast

On white

2.11
#B8B832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#B8B832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B832
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B832#FFFFFF#000000##000000
##B8B8321.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B017
Deuteranopia (green-blind)
#C9B43C
Tritanopia (blue-blind)
#C5AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b832;
/* rgb */ color: rgb(184, 184, 50);
/* oklch */ color: oklch(75.9% 0.149 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd74',
    500: '#b8b832',
    950: '#000000',
  },
}
SCSS
$custom: #b8b832;
$custom-light: #d1cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b832",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75925,
    "c": 0.14898,
    "h": 109.5
  },
  "luminance": 0.44702
}

Semantic roles & 50–950 ramp

primary
#B8B832
secondary
#7E7EC8
accent
#47E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B832

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

Preview Lab → · Contrast checker → · Palette generator →

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