#B9B46F#B9B46F

#B9B46F is a light, moderate yellow. Relative luminance 0.441; OKLCH L 75.8% C 0.090 H 104.8°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B9B46F
RGBrgb(185, 180, 111)
HSLhsl(56, 35%, 58%)
HSVhsv(56, 40%, 73%)
CMYKcmyk(0%, 2.7%, 40%, 27.5%)
CIE-LABlab(72.30, -8.42, 35.80)
CIE-LCHlch(72.30, 36.78, 103.24°)
OKLaboklab(75.83% -0.023 0.0873)
OKLCHoklch(75.83% 0.09 104.8)
XYZxyz(39.1987, 44.1055, 21.4842)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B46F #6F74B9
analogous
#B98F6F #B9B46F #99B96F
triadic
#B9B46F #6FB9B4 #B46FB9
tetradic
#B9B46F #6FB98F #6F74B9 #B96F99
square
#B9B46F #6FB98F #6F74B9 #B96F99
split-complementary
#B9B46F #6F99B9 #8F6FB9
monochromatic
#757139 #9E994D #B9B46F #CDC998 #E1DFC1

Accessibility & contrast

On white

2.14
#B9B46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#B9B46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B46F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B46F#FFFFFF#000000##000000
##B9B46F1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAF6A
Deuteranopia (green-blind)
#C1B372
Tritanopia (blue-blind)
#C3ACA3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b9b46f;
/* rgb */ color: rgb(185, 180, 111);
/* oklch */ color: oklch(75.8% 0.090 104.8);
Tailwind
colors: {
  custom: {
    50: '#cfca99',
    500: '#b9b46f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b46f;
$custom-light: #cfca99;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b46f",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 111
  },
  "hsl": {
    "h": 55.946,
    "s": 34.579,
    "l": 58.039
  },
  "oklch": {
    "l": 0.75826,
    "c": 0.09027,
    "h": 104.8
  },
  "luminance": 0.44105
}

Semantic roles & 50–950 ramp

primary
#B9B46F
secondary
#B3B5D1
accent
#65CB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B9B46F

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

Preview Lab → · Contrast checker → · Palette generator →

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