#B9B261#B9B261

#B9B261 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.104 H 104.2°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B9B261
RGBrgb(185, 178, 97)
HSLhsl(55, 39%, 55%)
HSVhsv(55, 48%, 73%)
CMYKcmyk(0%, 3.8%, 47.6%, 27.5%)
CIE-LABlab(71.57, -8.83, 42.02)
CIE-LCHlch(71.57, 42.94, 101.86°)
OKLaboklab(75.18% -0.0254 0.1004)
OKLCHoklch(75.18% 0.104 104.2)
XYZxyz(38.0866, 43.0193, 17.6042)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B261 #6168B9
analogous
#B98661 #B9B261 #94B961
triadic
#B9B261 #61B9B2 #B261B9
tetradic
#B9B261 #61B986 #6168B9 #B96194
square
#B9B261 #61B986 #6168B9 #B96194
split-complementary
#B9B261 #6194B9 #8661B9
monochromatic
#6F6A31 #999244 #B9B261 #CCC78B #DFDBB6

Accessibility & contrast

On white

2.19
#B9B261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B9B261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B261
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B261#FFFFFF#000000##000000
##B9B2611.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD5A
Deuteranopia (green-blind)
#C1B165
Tritanopia (blue-blind)
#C4A89F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b261;
/* rgb */ color: rgb(185, 178, 97);
/* oklch */ color: oklch(75.2% 0.104 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c890',
    500: '#b9b261',
    950: '#000000',
  },
}
SCSS
$custom: #b9b261;
$custom-light: #d0c890;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b261",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 97
  },
  "hsl": {
    "h": 55.227,
    "s": 38.596,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.10352,
    "h": 104.2
  },
  "luminance": 0.43018
}

Semantic roles & 50–950 ramp

primary
#B9B261
secondary
#A9ABCD
accent
#63CF59
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B9B261

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

Preview Lab → · Contrast checker → · Palette generator →

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