#B6B834#B6B834

#B6B834 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.8% C 0.148 H 110.3°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#B6B834
RGBrgb(182, 184, 52)
HSLhsl(61, 56%, 46%)
HSVhsv(61, 72%, 72%)
CMYKcmyk(1.1%, 0%, 71.7%, 27.8%)
CIE-LABlab(72.54, -16.40, 62.79)
CIE-LCHlch(72.54, 64.90, 104.64°)
OKLaboklab(75.77% -0.0515 0.139)
OKLCHoklch(75.77% 0.148 110.3)
XYZxyz(37.0530, 44.4750, 9.8808)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B834 #3634B8
analogous
#B87834 #B6B834 #74B834
triadic
#B6B834 #34B6B8 #B834B6
tetradic
#B6B834 #34B878 #3634B8 #B83474
square
#B6B834 #34B878 #3634B8 #B83474
split-complementary
#B6B834 #3474B8 #7834B8
monochromatic
#585919 #878827 #B6B834 #CED059 #DCDE89

Accessibility & contrast

On white

2.12
#B6B834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#B6B834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B834
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B834#FFFFFF#000000##000000
##B6B8341.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01B
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C3AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b6b834;
/* rgb */ color: rgb(182, 184, 52);
/* oklch */ color: oklch(75.8% 0.148 110.3);
Tailwind
colors: {
  custom: {
    50: '#cfcd75',
    500: '#b6b834',
    950: '#000000',
  },
}
SCSS
$custom: #b6b834;
$custom-light: #cfcd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b834",
  "rgb": {
    "r": 182,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 60.909,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75768,
    "c": 0.14821,
    "h": 110.3
  },
  "luminance": 0.44474
}

Semantic roles & 50–950 ramp

primary
#B6B834
secondary
#8180C8
accent
#49DF4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B834

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

Preview Lab → · Contrast checker → · Palette generator →

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