#B2B95B#B2B95B

#B2B95B is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.0% C 0.119 H 112.7°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#B2B95B
RGBrgb(178, 185, 91)
HSLhsl(64, 40%, 54%)
HSVhsv(64, 51%, 73%)
CMYKcmyk(3.8%, 0%, 50.8%, 27.5%)
CIE-LABlab(72.84, -15.89, 46.36)
CIE-LCHlch(72.84, 49.00, 108.91°)
OKLaboklab(76.03% -0.0458 0.1095)
OKLCHoklch(76.03% 0.119 112.7)
XYZxyz(37.5981, 44.9189, 16.5851)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B95B #625BB9
analogous
#B9915B #B2B95B #83B95B
triadic
#B2B95B #5BB2B9 #B95BB2
tetradic
#B2B95B #5BB991 #625BB9 #B95B83
square
#B2B95B #5BB991 #625BB9 #B95B83
split-complementary
#B2B95B #5B83B9 #915BB9
monochromatic
#676C2E #909740 #B2B95B #C6CB86 #DADEB1

Accessibility & contrast

On white

2.10
#B2B95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#B2B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B95B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B95B#FFFFFF#000000##000000
##B2B95B1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B252
Deuteranopia (green-blind)
#C5B460
Tritanopia (blue-blind)
#BCB0A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2b95b;
/* rgb */ color: rgb(178, 185, 91);
/* oklch */ color: oklch(76.0% 0.119 112.7);
Tailwind
colors: {
  custom: {
    50: '#cbcd8c',
    500: '#b2b95b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b95b;
$custom-light: #cbcd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b95b",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 64.468,
    "s": 40.171,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76033,
    "c": 0.11864,
    "h": 112.7
  },
  "luminance": 0.44918
}

Semantic roles & 50–950 ramp

primary
#B2B95B
secondary
#A7A4CC
accent
#58D061
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #B2B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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