#B2B131#B2B131

#B2B131 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.144 H 109.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B2B131
RGBrgb(178, 177, 49)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 72%, 70%)
CMYKcmyk(0%, 0.6%, 72.5%, 30.2%)
CIE-LABlab(70.27, -14.70, 61.55)
CIE-LCHlch(70.27, 63.29, 103.44°)
OKLaboklab(73.86% -0.0468 0.136)
OKLCHoklch(73.86% 0.144 109)
XYZxyz(34.6379, 41.1321, 9.0198)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B131 #3132B2
analogous
#B27131 #B2B131 #73B231
triadic
#B2B131 #31B2B1 #B131B2
tetradic
#B2B131 #31B271 #3132B2 #B23173
square
#B2B131 #31B271 #3132B2 #B23173
split-complementary
#B2B131 #3173B2 #7131B2
monochromatic
#525217 #828124 #B2B131 #CFCE51 #DCDC81

Accessibility & contrast

On white

2.28
#B2B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B2B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B131
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B131#FFFFFF#000000##000000
##B2B1311.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA19
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#BFA698
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b131;
/* rgb */ color: rgb(178, 177, 49);
/* oklch */ color: oklch(73.9% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#cdc872',
    500: '#b2b131',
    950: '#000000',
  },
}
SCSS
$custom: #b2b131;
$custom-light: #cdc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b131",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 59.535,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73864,
    "c": 0.1438,
    "h": 109
  },
  "luminance": 0.41131
}

Semantic roles & 50–950 ramp

primary
#B2B131
secondary
#797AC5
accent
#49E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B131

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

Preview Lab → · Contrast checker → · Palette generator →

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