#B2B82F#B2B82F

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

Color values

HEX#B2B82F
RGBrgb(178, 184, 47)
HSLhsl(63, 59%, 45%)
HSVhsv(63, 74%, 72%)
CMYKcmyk(3.3%, 0%, 74.5%, 27.8%)
CIE-LABlab(72.20, -18.34, 64.06)
CIE-LCHlch(72.20, 66.64, 105.98°)
OKLaboklab(75.4% -0.0572 0.1409)
OKLCHoklch(75.4% 0.152 112.1)
XYZxyz(36.0149, 43.9521, 9.2752)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B82F #352FB8
analogous
#B87A2F #B2B82F #6DB82F
triadic
#B2B82F #2FB2B8 #B82FB2
tetradic
#B2B82F #2FB87A #352FB8 #B82F6D
square
#B2B82F #2FB87A #352FB8 #B82F6D
split-complementary
#B2B82F #2F6DB8 #7A2FB8
monochromatic
#545716 #838723 #B2B82F #CDD352 #DBDF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b2b82f;
/* rgb */ color: rgb(178, 184, 47);
/* oklch */ color: oklch(75.4% 0.152 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcd72',
    500: '#b2b82f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b82f;
$custom-light: #cdcd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b82f",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 62.628,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75402,
    "c": 0.15207,
    "h": 112.1
  },
  "luminance": 0.43951
}

Semantic roles & 50–950 ramp

primary
#B2B82F
secondary
#7E7BC8
accent
#45E24C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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