#B2BD31#B2BD31

#B2BD31 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.5% C 0.156 H 114.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#B2BD31
RGBrgb(178, 189, 49)
HSLhsl(65, 59%, 47%)
HSVhsv(65, 74%, 74%)
CMYKcmyk(5.8%, 0%, 74.1%, 25.9%)
CIE-LABlab(73.60, -20.75, 64.71)
CIE-LCHlch(73.60, 67.96, 107.78°)
OKLaboklab(76.53% -0.0637 0.1427)
OKLCHoklch(76.53% 0.156 114.1)
XYZxyz(37.1132, 46.0827, 9.8449)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BD31 #3C31BD
analogous
#BD8231 #B2BD31 #6CBD31
triadic
#B2BD31 #31B2BD #BD31B2
tetradic
#B2BD31 #31BD82 #3C31BD #BD316C
square
#B2BD31 #31BD82 #3C31BD #BD316C
split-complementary
#B2BD31 #316CBD #8231BD
monochromatic
#565C18 #848C24 #B2BD31 #CAD458 #D9E088

Accessibility & contrast

On white

2.06
#B2BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#B2BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BD31
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BD31#FFFFFF#000000##000000
##B2BD311.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB412
Deuteranopia (green-blind)
#CBB63D
Tritanopia (blue-blind)
#BEB2A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bd31;
/* rgb */ color: rgb(178, 189, 49);
/* oklch */ color: oklch(76.5% 0.156 114.1);
Tailwind
colors: {
  custom: {
    50: '#cdd074',
    500: '#b2bd31',
    950: '#000000',
  },
}
SCSS
$custom: #b2bd31;
$custom-light: #cdd074;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bd31",
  "rgb": {
    "r": 178,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 64.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76529,
    "c": 0.15621,
    "h": 114.1
  },
  "luminance": 0.46082
}

Semantic roles & 50–950 ramp

primary
#B2BD31
secondary
#8680CA
accent
#46E252
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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