#B2B82D#B2B82D

#B2B82D 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#B2B82D
RGBrgb(178, 184, 45)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 76%, 72%)
CMYKcmyk(3.3%, 0%, 75.5%, 27.8%)
CIE-LABlab(72.19, -18.43, 64.71)
CIE-LCHlch(72.19, 67.28, 105.90°)
OKLaboklab(75.39% -0.0576 0.1419)
OKLCHoklch(75.39% 0.153 112.1)
XYZxyz(35.9754, 43.9363, 9.0676)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B82D #332DB8
analogous
#B8792D #B2B82D #6CB82D
triadic
#B2B82D #2DB2B8 #B82DB2
tetradic
#B2B82D #2DB879 #332DB8 #B82D6C
square
#B2B82D #2DB879 #332DB8 #B82D6C
split-complementary
#B2B82D #2D6CB8 #792DB8
monochromatic
#535615 #828721 #B2B82D #CED44E #DCE080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B82D#FFFFFF#000000##000000
##B2B82D1.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)
#C6AF09
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b82d;
/* rgb */ color: rgb(178, 184, 45);
/* oklch */ color: oklch(75.4% 0.153 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcd71',
    500: '#b2b82d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b82d;
$custom-light: #cdcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b82d",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 62.59,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7539,
    "c": 0.15316,
    "h": 112.1
  },
  "luminance": 0.43935
}

Semantic roles & 50–950 ramp

primary
#B2B82D
secondary
#7C78C9
accent
#44E44B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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