#B2B95A#B2B95A

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

Color values

HEX#B2B95A
RGBrgb(178, 185, 90)
HSLhsl(64, 40%, 54%)
HSVhsv(64, 51%, 73%)
CMYKcmyk(3.8%, 0%, 51.4%, 27.5%)
CIE-LABlab(72.83, -15.98, 46.83)
CIE-LCHlch(72.83, 49.48, 108.84°)
OKLaboklab(76.02% -0.0461 0.1104)
OKLCHoklch(76.02% 0.12 112.7)
XYZxyz(37.5552, 44.9018, 16.3594)
Luminance0.4490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B95A #615AB9
analogous
#B9915A #B2B95A #83B95A
triadic
#B2B95A #5AB2B9 #B95AB2
tetradic
#B2B95A #5AB991 #615AB9 #B95A83
square
#B2B95A #5AB991 #615AB9 #B95A83
split-complementary
#B2B95A #5A83B9 #915AB9
monochromatic
#676B2D #909640 #B2B95A #C6CB85 #DADDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B95A#FFFFFF#000000##000000
##B2B95A1.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)
#C5B251
Deuteranopia (green-blind)
#C5B45F
Tritanopia (blue-blind)
#BCB0A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2b95a;
/* rgb */ color: rgb(178, 185, 90);
/* oklch */ color: oklch(76.0% 0.120 112.7);
Tailwind
colors: {
  custom: {
    50: '#cbcd8b',
    500: '#b2b95a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b95a;
$custom-light: #cbcd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b95a",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 64.421,
    "s": 40.426,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7602,
    "c": 0.11963,
    "h": 112.7
  },
  "luminance": 0.44901
}

Semantic roles & 50–950 ramp

primary
#B2B95A
secondary
#A6A3CC
accent
#58D060
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #B2B95A

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

Preview Lab → · Contrast checker → · Palette generator →

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