#B8B836#B8B836

#B8B836 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.147 H 109.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B8B836
RGBrgb(184, 184, 54)
HSLhsl(60, 55%, 47%)
HSVhsv(60, 71%, 72%)
CMYKcmyk(0%, 0%, 70.7%, 27.8%)
CIE-LABlab(72.72, -15.45, 62.29)
CIE-LCHlch(72.72, 64.18, 103.93°)
OKLaboklab(75.95% -0.0488 0.1382)
OKLCHoklch(75.95% 0.147 109.4)
XYZxyz(37.5748, 44.7388, 10.1454)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B836 #3636B8
analogous
#B87736 #B8B836 #77B836
triadic
#B8B836 #36B8B8 #B836B8
tetradic
#B8B836 #36B877 #3636B8 #B83677
square
#B8B836 #36B877 #3636B8 #B83677
split-complementary
#B8B836 #3677B8 #7736B8
monochromatic
#59591A #898928 #B8B836 #CFCF5C #DDDD8B

Accessibility & contrast

On white

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

On black

9.95
#B8B836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B836
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B836#FFFFFF#000000##000000
##B8B8361.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01F
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#C5AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b836;
/* rgb */ color: rgb(184, 184, 54);
/* oklch */ color: oklch(76.0% 0.147 109.4);
Tailwind
colors: {
  custom: {
    50: '#d1cd76',
    500: '#b8b836',
    950: '#000000',
  },
}
SCSS
$custom: #b8b836;
$custom-light: #d1cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b836",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75952,
    "c": 0.14656,
    "h": 109.4
  },
  "luminance": 0.44738
}

Semantic roles & 50–950 ramp

primary
#B8B836
secondary
#8282C7
accent
#4ADE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B836

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

Preview Lab → · Contrast checker → · Palette generator →

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