#B2B87F#B2B87F

#B2B87F is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.4% C 0.077 H 113.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#B2B87F
RGBrgb(178, 184, 127)
HSLhsl(66, 29%, 61%)
HSVhsv(66, 31%, 72%)
CMYKcmyk(3.3%, 0%, 31%, 27.8%)
CIE-LABlab(73.08, -11.35, 28.33)
CIE-LCHlch(73.08, 30.52, 111.83°)
OKLaboklab(76.39% -0.0301 0.0706)
OKLCHoklch(76.39% 0.077 113.1)
XYZxyz(39.3314, 45.2787, 26.7422)
Luminance0.4528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B87F #857FB8
analogous
#B8A17F #B2B87F #95B87F
triadic
#B2B87F #7FB2B8 #B87FB2
tetradic
#B2B87F #7FB8A1 #857FB8 #B87F95
square
#B2B87F #7FB8A1 #857FB8 #B87F95
split-complementary
#B2B87F #7F95B8 #A17FB8
monochromatic
#747943 #99A159 #B2B87F #CACEA6 #E1E4CE

Accessibility & contrast

On white

2.09
#B2B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#B2B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B87F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B87F#FFFFFF#000000##000000
##B2B87F1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B37B
Deuteranopia (green-blind)
#C0B481
Tritanopia (blue-blind)
#B9B2A9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2b87f;
/* rgb */ color: rgb(178, 184, 127);
/* oklch */ color: oklch(76.4% 0.077 113.1);
Tailwind
colors: {
  custom: {
    50: '#c9cda4',
    500: '#b2b87f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b87f;
$custom-light: #c9cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b87f",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 66.316,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.76388,
    "c": 0.07678,
    "h": 113.1
  },
  "luminance": 0.45278
}

Semantic roles & 50–950 ramp

primary
#B2B87F
secondary
#C1BFD4
accent
#3EA749
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B2B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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