#B2B944#B2B944

#B2B944 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.139 H 112.5°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#B2B944
RGBrgb(178, 185, 68)
HSLhsl(64, 46%, 50%)
HSVhsv(64, 63%, 73%)
CMYKcmyk(3.8%, 0%, 63.2%, 27.5%)
CIE-LABlab(72.62, -17.69, 56.53)
CIE-LCHlch(72.62, 59.24, 107.38°)
OKLaboklab(75.78% -0.0533 0.1285)
OKLCHoklch(75.78% 0.139 112.5)
XYZxyz(36.7534, 44.5810, 12.1366)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B944 #4B44B9
analogous
#B98644 #B2B944 #77B944
triadic
#B2B944 #44B2B9 #B944B2
tetradic
#B2B944 #44B986 #4B44B9 #B94477
square
#B2B944 #44B986 #4B44B9 #B94477
split-complementary
#B2B944 #4477B9 #8644B9
monochromatic
#5C5F23 #878C34 #B2B944 #C5CA70 #D7DB9D

Accessibility & contrast

On white

2.12
#B2B944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#B2B944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B944
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B944#FFFFFF#000000##000000
##B2B9441.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B135
Deuteranopia (green-blind)
#C6B44C
Tritanopia (blue-blind)
#BDAEA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b944;
/* rgb */ color: rgb(178, 185, 68);
/* oklch */ color: oklch(75.8% 0.139 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd7d',
    500: '#b2b944',
    950: '#000000',
  },
}
SCSS
$custom: #b2b944;
$custom-light: #cccd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b944",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 68
  },
  "hsl": {
    "h": 63.59,
    "s": 46.245,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75782,
    "c": 0.1391,
    "h": 112.5
  },
  "luminance": 0.4458
}

Semantic roles & 50–950 ramp

primary
#B2B944
secondary
#9592C7
accent
#52D65A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B944

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

Preview Lab → · Contrast checker → · Palette generator →

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