#B2B936#B2B936

#B2B936 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.149 H 112.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#B2B936
RGBrgb(178, 185, 54)
HSLhsl(63, 55%, 47%)
HSVhsv(63, 71%, 73%)
CMYKcmyk(3.8%, 0%, 70.8%, 27.5%)
CIE-LABlab(72.52, -18.51, 61.93)
CIE-LCHlch(72.52, 64.64, 106.64°)
OKLaboklab(75.67% -0.057 0.1376)
OKLCHoklch(75.67% 0.149 112.5)
XYZxyz(36.3760, 44.4301, 10.1490)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B936 #3D36B9
analogous
#B97F36 #B2B936 #71B936
triadic
#B2B936 #36B2B9 #B936B2
tetradic
#B2B936 #36B97F #3D36B9 #B93671
square
#B2B936 #36B97F #3D36B9 #B93671
split-complementary
#B2B936 #3671B9 #7F36B9
monochromatic
#575A1A #848A28 #B2B936 #C9D05D #D9DD8C

Accessibility & contrast

On white

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

On black

9.89
#B2B936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B936
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B936#FFFFFF#000000##000000
##B2B9361.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01F
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#BEAE9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b936;
/* rgb */ color: rgb(178, 185, 54);
/* oklch */ color: oklch(75.7% 0.149 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd76',
    500: '#b2b936',
    950: '#000000',
  },
}
SCSS
$custom: #b2b936;
$custom-light: #cccd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b936",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 63.206,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7567,
    "c": 0.14896,
    "h": 112.5
  },
  "luminance": 0.44429
}

Semantic roles & 50–950 ramp

primary
#B2B936
secondary
#8783C8
accent
#4ADE52
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B936

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

Preview Lab → · Contrast checker → · Palette generator →

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