#B9BA7B#B9BA7B

#B9BA7B is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.3% C 0.083 H 109.0°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#B9BA7B
RGBrgb(185, 186, 123)
HSLhsl(61, 31%, 61%)
HSVhsv(61, 34%, 73%)
CMYKcmyk(0.5%, 0%, 33.9%, 27.1%)
CIE-LABlab(74.10, -10.14, 31.89)
CIE-LCHlch(74.10, 33.46, 107.65°)
OKLaboklab(77.32% -0.0271 0.0788)
OKLCHoklch(77.32% 0.083 109)
XYZxyz(41.1420, 46.8629, 25.6132)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA7B #7C7BBA
analogous
#BA9B7B #B9BA7B #99BA7B
triadic
#B9BA7B #7BB9BA #BA7BB9
tetradic
#B9BA7B #7BBA9B #7C7BBA #BA7B99
square
#B9BA7B #7BBA9B #7C7BBA #BA7B99
split-complementary
#B9BA7B #7B99BA #9B7BBA
monochromatic
#7A7B40 #A2A355 #B9BA7B #CECFA3 #E4E4CB

Accessibility & contrast

On white

2.02
#B9BA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#B9BA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA7B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA7B#FFFFFF#000000##000000
##B9BA7B1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B577
Deuteranopia (green-blind)
#C5B77E
Tritanopia (blue-blind)
#C1B3AA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9ba7b;
/* rgb */ color: rgb(185, 186, 123);
/* oklch */ color: oklch(77.3% 0.083 109.0);
Tailwind
colors: {
  custom: {
    50: '#cfcea2',
    500: '#b9ba7b',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba7b;
$custom-light: #cfcea2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba7b",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 123
  },
  "hsl": {
    "h": 60.952,
    "s": 31.343,
    "l": 60.588
  },
  "oklch": {
    "l": 0.77317,
    "c": 0.08333,
    "h": 109
  },
  "luminance": 0.46862
}

Semantic roles & 50–950 ramp

primary
#B9BA7B
secondary
#BDBCD4
accent
#3BAA3D
background
#FCFCFA
surface
#F9F9F3
border
#D2D2CD
text
#14130F
muted
#82827F

Preview Lab

Preview with #B9BA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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