#B7BC8A#B7BC8A

#B7BC8A is a light, moderate yellow. Relative luminance 0.479; OKLCH L 77.9% C 0.068 H 112.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#B7BC8A
RGBrgb(183, 188, 138)
HSLhsl(66, 27%, 64%)
HSVhsv(66, 27%, 74%)
CMYKcmyk(2.7%, 0%, 26.6%, 26.3%)
CIE-LABlab(74.74, -9.99, 24.79)
CIE-LCHlch(74.74, 26.73, 111.95°)
OKLaboklab(77.87% -0.026 0.0624)
OKLCHoklch(77.87% 0.068 112.6)
XYZxyz(42.0990, 47.8691, 31.0617)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC8A #8F8ABC
analogous
#BCA88A #B7BC8A #9EBC8A
triadic
#B7BC8A #8AB7BC #BC8AB7
tetradic
#B7BC8A #8ABCA8 #8F8ABC #BC8A9E
square
#B7BC8A #8ABCA8 #8F8ABC #BC8A9E
split-complementary
#B7BC8A #8A9EBC #A88ABC
monochromatic
#7C814A #9FA663 #B7BC8A #CFD2B1 #E7E9D8

Accessibility & contrast

On white

1.99
#B7BC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#B7BC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC8A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC8A#FFFFFF#000000##000000
##B7BC8A1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B787
Deuteranopia (green-blind)
#C3B98C
Tritanopia (blue-blind)
#BDB6AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7bc8a;
/* rgb */ color: rgb(183, 188, 138);
/* oklch */ color: oklch(77.9% 0.068 112.6);
Tailwind
colors: {
  custom: {
    50: '#cdd0ac',
    500: '#b7bc8a',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc8a;
$custom-light: #cdd0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc8a",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 138
  },
  "hsl": {
    "h": 66,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.77871,
    "c": 0.06764,
    "h": 112.6
  },
  "luminance": 0.47869
}

Semantic roles & 50–950 ramp

primary
#B7BC8A
secondary
#CAC8DA
accent
#40A64A
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #B7BC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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