#B8B834#B8B834

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

Color values

HEX#B8B834
RGBrgb(184, 184, 52)
HSLhsl(60, 56%, 46%)
HSVhsv(60, 72%, 72%)
CMYKcmyk(0%, 0%, 71.7%, 27.8%)
CIE-LABlab(72.71, -15.55, 63.00)
CIE-LCHlch(72.71, 64.89, 103.86°)
OKLaboklab(75.94% -0.0492 0.1394)
OKLCHoklch(75.94% 0.148 109.5)
XYZxyz(37.5288, 44.7204, 9.9032)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B834 #3434B8
analogous
#B87634 #B8B834 #76B834
triadic
#B8B834 #34B8B8 #B834B8
tetradic
#B8B834 #34B876 #3434B8 #B83476
square
#B8B834 #34B876 #3434B8 #B83476
split-complementary
#B8B834 #3476B8 #7634B8
monochromatic
#595919 #888827 #B8B834 #D0D059 #DEDE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B834#FFFFFF#000000##000000
##B8B8341.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)
#C7B01B
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C5AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b834;
/* rgb */ color: rgb(184, 184, 52);
/* oklch */ color: oklch(75.9% 0.148 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd75',
    500: '#b8b834',
    950: '#000000',
  },
}
SCSS
$custom: #b8b834;
$custom-light: #d1cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b834",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 60,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75938,
    "c": 0.14779,
    "h": 109.5
  },
  "luminance": 0.44719
}

Semantic roles & 50–950 ramp

primary
#B8B834
secondary
#8080C8
accent
#49DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B834

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

Preview Lab → · Contrast checker → · Palette generator →

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