#B9B76E#B9B76E

#B9B76E is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.5% C 0.095 H 107.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#B9B76E
RGBrgb(185, 183, 110)
HSLhsl(58, 35%, 58%)
HSVhsv(58, 41%, 73%)
CMYKcmyk(0%, 1.1%, 40.5%, 27.5%)
CIE-LABlab(73.09, -10.10, 37.33)
CIE-LCHlch(73.09, 38.67, 105.13°)
OKLaboklab(76.45% -0.0279 0.0907)
OKLCHoklch(76.45% 0.095 107.1)
XYZxyz(39.7562, 45.3079, 21.3999)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B76E #6E70B9
analogous
#B9916E #B9B76E #95B96E
triadic
#B9B76E #6EB9B7 #B76EB9
tetradic
#B9B76E #6EB991 #6E70B9 #B96E95
square
#B9B76E #6EB991 #6E70B9 #B96E95
split-complementary
#B9B76E #6E95B9 #916EB9
monochromatic
#747338 #9E9C4C #B9B76E #CDCB97 #E1E0C1

Accessibility & contrast

On white

2.09
#B9B76E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#B9B76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B76E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B76E#FFFFFF#000000##000000
##B9B76E1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B268
Deuteranopia (green-blind)
#C4B571
Tritanopia (blue-blind)
#C3AEA5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b76e;
/* rgb */ color: rgb(185, 183, 110);
/* oklch */ color: oklch(76.5% 0.095 107.1);
Tailwind
colors: {
  custom: {
    50: '#cfcc99',
    500: '#b9b76e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b76e;
$custom-light: #cfcc99;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b76e",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 110
  },
  "hsl": {
    "h": 58.4,
    "s": 34.884,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76452,
    "c": 0.09489,
    "h": 107.1
  },
  "luminance": 0.45307
}

Semantic roles & 50–950 ramp

primary
#B9B76E
secondary
#B2B3D0
accent
#60CB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B9B76E

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

Preview Lab → · Contrast checker → · Palette generator →

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