#B2B836#B2B836

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

Color values

HEX#B2B836
RGBrgb(178, 184, 54)
HSLhsl(63, 55%, 47%)
HSVhsv(63, 71%, 72%)
CMYKcmyk(3.3%, 0%, 70.7%, 27.8%)
CIE-LABlab(72.24, -18.01, 61.66)
CIE-LCHlch(72.24, 64.24, 106.28°)
OKLaboklab(75.45% -0.0556 0.1371)
OKLCHoklch(75.45% 0.148 112.1)
XYZxyz(36.1676, 44.0132, 10.0795)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B836 #3C36B8
analogous
#B87D36 #B2B836 #71B836
triadic
#B2B836 #36B2B8 #B836B2
tetradic
#B2B836 #36B87D #3C36B8 #B83671
square
#B2B836 #36B87D #3C36B8 #B83671
split-complementary
#B2B836 #3671B8 #7D36B8
monochromatic
#56591A #848928 #B2B836 #CACF5C #D9DD8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B836#FFFFFF#000000##000000
##B2B8361.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)
#C6B01F
Deuteranopia (green-blind)
#C6B340
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b836;
/* rgb */ color: rgb(178, 184, 54);
/* oklch */ color: oklch(75.4% 0.148 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccd76',
    500: '#b2b836',
    950: '#000000',
  },
}
SCSS
$custom: #b2b836;
$custom-light: #cccd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b836",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 62.769,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75448,
    "c": 0.1479,
    "h": 112.1
  },
  "luminance": 0.44012
}

Semantic roles & 50–950 ramp

primary
#B2B836
secondary
#8682C7
accent
#4ADE51
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B836

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

Preview Lab → · Contrast checker → · Palette generator →

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