#B8B82B#B8B82B

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

Color values

HEX#B8B82B
RGBrgb(184, 184, 43)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 77%, 72%)
CMYKcmyk(0%, 0%, 76.6%, 27.8%)
CIE-LABlab(72.66, -15.94, 65.95)
CIE-LCHlch(72.66, 67.85, 103.58°)
OKLaboklab(75.88% -0.0511 0.144)
OKLCHoklch(75.88% 0.153 109.5)
XYZxyz(37.3451, 44.6469, 8.9355)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B82B #2B2BB8
analogous
#B8722B #B8B82B #72B82B
triadic
#B8B82B #2BB8B8 #B82BB8
tetradic
#B8B82B #2BB872 #2B2BB8 #B82B72
square
#B8B82B #2BB872 #2B2BB8 #B82B72
split-complementary
#B8B82B #2B72B8 #722BB8
monochromatic
#555514 #86861F #B8B82B #D5D54B #E1E17D

Accessibility & contrast

On white

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

On black

9.93
#B8B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B82B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B82B#FFFFFF#000000##000000
##B8B82B1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b82b;
/* rgb */ color: rgb(184, 184, 43);
/* oklch */ color: oklch(75.9% 0.153 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd70',
    500: '#b8b82b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b82b;
$custom-light: #d1cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b82b",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75884,
    "c": 0.15278,
    "h": 109.5
  },
  "luminance": 0.44646
}

Semantic roles & 50–950 ramp

primary
#B8B82B
secondary
#7676C9
accent
#43E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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