#B2B82E#B2B82E

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

Color values

HEX#B2B82E
RGBrgb(178, 184, 46)
HSLhsl(63, 60%, 45%)
HSVhsv(63, 75%, 72%)
CMYKcmyk(3.3%, 0%, 75%, 27.8%)
CIE-LABlab(72.19, -18.39, 64.39)
CIE-LCHlch(72.19, 66.96, 105.94°)
OKLaboklab(75.4% -0.0574 0.1414)
OKLCHoklch(75.4% 0.153 112.1)
XYZxyz(35.9949, 43.9441, 9.1702)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B82E #342EB8
analogous
#B8792E #B2B82E #6DB82E
triadic
#B2B82E #2EB2B8 #B82EB2
tetradic
#B2B82E #2EB879 #342EB8 #B82E6D
square
#B2B82E #2EB879 #342EB8 #B82E6D
split-complementary
#B2B82E #2E6DB8 #792EB8
monochromatic
#535616 #838722 #B2B82E #CED350 #DBDF81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B82E#FFFFFF#000000##000000
##B2B82E1.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)
#C6AF0D
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#BEAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b82e;
/* rgb */ color: rgb(178, 184, 46);
/* oklch */ color: oklch(75.4% 0.153 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcd72',
    500: '#b2b82e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b82e;
$custom-light: #cdcd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b82e",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 62.609,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75396,
    "c": 0.15261,
    "h": 112.1
  },
  "luminance": 0.43943
}

Semantic roles & 50–950 ramp

primary
#B2B82E
secondary
#7D79C8
accent
#45E34C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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