#B2B82B#B2B82B

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

Color values

HEX#B2B82B
RGBrgb(178, 184, 43)
HSLhsl(63, 62%, 45%)
HSVhsv(63, 77%, 72%)
CMYKcmyk(3.3%, 0%, 76.6%, 27.8%)
CIE-LABlab(72.18, -18.51, 65.33)
CIE-LCHlch(72.18, 67.90, 105.82°)
OKLaboklab(75.38% -0.058 0.1429)
OKLCHoklch(75.38% 0.154 112.1)
XYZxyz(35.9378, 43.9213, 8.8696)
Luminance0.4392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B82B #312BB8
analogous
#B8782B #B2B82B #6CB82B
triadic
#B2B82B #2BB2B8 #B82BB2
tetradic
#B2B82B #2BB878 #312BB8 #B82B6C
square
#B2B82B #2BB878 #312BB8 #B82B6C
split-complementary
#B2B82B #2B6CB8 #782BB8
monochromatic
#525514 #82861F #B2B82B #CFD54B #DCE17D

Accessibility & contrast

On white

2.15
#B2B82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#B2B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B82B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B82B#FFFFFF#000000##000000
##B2B82B1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF02
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b82b;
/* rgb */ color: rgb(178, 184, 43);
/* oklch */ color: oklch(75.4% 0.154 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcd70',
    500: '#b2b82b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b82b;
$custom-light: #cdcd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b82b",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 62.553,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75379,
    "c": 0.1542,
    "h": 112.1
  },
  "luminance": 0.4392
}

Semantic roles & 50–950 ramp

primary
#B2B82B
secondary
#7976C9
accent
#43E54A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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