#B9BA7D#B9BA7D

#B9BA7D is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.4% C 0.081 H 108.9°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#B9BA7D
RGBrgb(185, 186, 125)
HSLhsl(61, 31%, 61%)
HSVhsv(61, 33%, 73%)
CMYKcmyk(0.5%, 0%, 32.8%, 27.1%)
CIE-LABlab(74.13, -9.90, 30.88)
CIE-LCHlch(74.13, 32.43, 107.77°)
OKLaboklab(77.35% -0.0263 0.0765)
OKLCHoklch(77.35% 0.081 108.9)
XYZxyz(41.2684, 46.9134, 26.2793)
Luminance0.4691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA7D #7E7DBA
analogous
#BA9C7D #B9BA7D #9ABA7D
triadic
#B9BA7D #7DB9BA #BA7DB9
tetradic
#B9BA7D #7DBA9C #7E7DBA #BA7D9A
square
#B9BA7D #7DBA9C #7E7DBA #BA7D9A
split-complementary
#B9BA7D #7D9ABA #9C7DBA
monochromatic
#7A7B41 #A2A357 #B9BA7D #CFCFA5 #E4E4CD

Accessibility & contrast

On white

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

On black

10.38
#B9BA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA7D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA7D#FFFFFF#000000##000000
##B9BA7D1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ba7d;
/* rgb */ color: rgb(185, 186, 125);
/* oklch */ color: oklch(77.4% 0.081 108.9);
Tailwind
colors: {
  custom: {
    50: '#cfcea3',
    500: '#b9ba7d',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba7d;
$custom-light: #cfcea3;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba7d",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 125
  },
  "hsl": {
    "h": 60.984,
    "s": 30.653,
    "l": 60.98
  },
  "oklch": {
    "l": 0.77354,
    "c": 0.0809,
    "h": 108.9
  },
  "luminance": 0.46913
}

Semantic roles & 50–950 ramp

primary
#B9BA7D
secondary
#BEBED5
accent
#3CA93E
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #B9BA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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