#B2B834#B2B834

#B2B834 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.149 H 112.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B2B834
RGBrgb(178, 184, 52)
HSLhsl(63, 56%, 46%)
HSVhsv(63, 72%, 72%)
CMYKcmyk(3.3%, 0%, 71.7%, 27.8%)
CIE-LABlab(72.22, -18.11, 62.37)
CIE-LCHlch(72.22, 64.95, 106.19°)
OKLaboklab(75.43% -0.0561 0.1382)
OKLCHoklch(75.43% 0.149 112.1)
XYZxyz(36.1216, 43.9948, 9.8372)
Luminance0.4399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B834 #3A34B8
analogous
#B87C34 #B2B834 #70B834
triadic
#B2B834 #34B2B8 #B834B2
tetradic
#B2B834 #34B87C #3A34B8 #B83470
square
#B2B834 #34B87C #3A34B8 #B83470
split-complementary
#B2B834 #3470B8 #7C34B8
monochromatic
#565919 #848827 #B2B834 #CBD059 #DADE89

Accessibility & contrast

On white

2.14
#B2B834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B2B834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B834
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B834#FFFFFF#000000##000000
##B2B8341.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1C
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#BEAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b834;
/* rgb */ color: rgb(178, 184, 52);
/* oklch */ color: oklch(75.4% 0.149 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccd75',
    500: '#b2b834',
    950: '#000000',
  },
}
SCSS
$custom: #b2b834;
$custom-light: #cccd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b834",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 62.727,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75434,
    "c": 0.14915,
    "h": 112.1
  },
  "luminance": 0.43994
}

Semantic roles & 50–950 ramp

primary
#B2B834
secondary
#8380C8
accent
#49DF4F
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B834

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

Preview Lab → · Contrast checker → · Palette generator →

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