#B2B950#B2B950

#B2B950 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.129 H 112.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B2B950
RGBrgb(178, 185, 80)
HSLhsl(64, 43%, 52%)
HSVhsv(64, 57%, 73%)
CMYKcmyk(3.8%, 0%, 56.8%, 27.5%)
CIE-LABlab(72.72, -16.82, 51.39)
CIE-LCHlch(72.72, 54.07, 108.13°)
OKLaboklab(75.9% -0.0496 0.1191)
OKLCHoklch(75.9% 0.129 112.6)
XYZxyz(37.1579, 44.7428, 14.2667)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B950 #5750B9
analogous
#B98C50 #B2B950 #7EB950
triadic
#B2B950 #50B2B9 #B950B2
tetradic
#B2B950 #50B98C #5750B9 #B9507E
square
#B2B950 #50B98C #5750B9 #B9507E
split-complementary
#B2B950 #507EB9 #8C50B9
monochromatic
#626629 #8C923A #B2B950 #C5CA7C #D8DCA7

Accessibility & contrast

On white

2.11
#B2B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#B2B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B950
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B950#FFFFFF#000000##000000
##B2B9501.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B145
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#BDAFA2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b950;
/* rgb */ color: rgb(178, 185, 80);
/* oklch */ color: oklch(75.9% 0.129 112.6);
Tailwind
colors: {
  custom: {
    50: '#cbcd85',
    500: '#b2b950',
    950: '#000000',
  },
}
SCSS
$custom: #b2b950;
$custom-light: #cbcd85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b950",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 64,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75902,
    "c": 0.12904,
    "h": 112.6
  },
  "luminance": 0.44742
}

Semantic roles & 50–950 ramp

primary
#B2B950
secondary
#9E9BC9
accent
#55D35E
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B950

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

Preview Lab → · Contrast checker → · Palette generator →

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