#B2B82C#B2B82C

#B2B82C 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.79:1 contrast (WCAG AA passes).

Color values

HEX#B2B82C
RGBrgb(178, 184, 44)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 76%, 72%)
CMYKcmyk(3.3%, 0%, 76.1%, 27.8%)
CIE-LABlab(72.18, -18.47, 65.02)
CIE-LCHlch(72.18, 67.59, 105.86°)
OKLaboklab(75.39% -0.0578 0.1424)
OKLCHoklch(75.39% 0.154 112.1)
XYZxyz(35.9564, 43.9287, 8.9674)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B82C #322CB8
analogous
#B8782C #B2B82C #6CB82C
triadic
#B2B82C #2CB2B8 #B82CB2
tetradic
#B2B82C #2CB878 #322CB8 #B82C6C
square
#B2B82C #2CB878 #322CB8 #B82C6C
split-complementary
#B2B82C #2C6CB8 #782CB8
monochromatic
#525514 #828720 #B2B82C #CFD44D #DCE07E

Accessibility & contrast

On white

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

On black

9.79
#B2B82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B82C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B82C#FFFFFF#000000##000000
##B2B82C1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b82c;
/* rgb */ color: rgb(178, 184, 44);
/* oklch */ color: oklch(75.4% 0.154 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcd71',
    500: '#b2b82c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b82c;
$custom-light: #cdcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b82c",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 62.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75385,
    "c": 0.15368,
    "h": 112.1
  },
  "luminance": 0.43928
}

Semantic roles & 50–950 ramp

primary
#B2B82C
secondary
#7B77C9
accent
#43E54A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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