#B99B3D#B99B3D

#B99B3D is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.9% C 0.117 H 91.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B99B3D
RGBrgb(185, 155, 61)
HSLhsl(45, 50%, 48%)
HSVhsv(45, 67%, 73%)
CMYKcmyk(0%, 16.2%, 67%, 27.5%)
CIE-LABlab(65.04, 0.59, 51.71)
CIE-LCHlch(65.04, 51.71, 89.34°)
OKLaboklab(69.89% -0.0025 0.117)
OKLCHoklch(69.89% 0.117 91.2)
XYZxyz(32.5729, 34.0958, 9.2794)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B3D #3D5BB9
analogous
#B95D3D #B99B3D #99B93D
triadic
#B99B3D #3DB99B #9B3DB9
tetradic
#B99B3D #3DB95D #3D5BB9 #B93D99
square
#B99B3D #3DB95D #3D5BB9 #B93D99
split-complementary
#B99B3D #3D99B9 #5D3DB9
monochromatic
#5D4E1F #8B742E #B99B3D #CDB466 #DCCB95

Accessibility & contrast

On white

2.69
#B99B3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B99B3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99B3D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99B3D#FFFFFF#000000##000000
##B99B3D1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9932
Deuteranopia (green-blind)
#B3A141
Tritanopia (blue-blind)
#C88F87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b99b3d;
/* rgb */ color: rgb(185, 155, 61);
/* oklch */ color: oklch(69.9% 0.117 91.2);
Tailwind
colors: {
  custom: {
    50: '#d1b877',
    500: '#b99b3d',
    950: '#000000',
  },
}
SCSS
$custom: #b99b3d;
$custom-light: #d1b877;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b3d",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 61
  },
  "hsl": {
    "h": 45.484,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.6989,
    "c": 0.11704,
    "h": 91.2
  },
  "luminance": 0.34094
}

Semantic roles & 50–950 ramp

primary
#B99B3D
secondary
#8B99C7
accent
#70DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B99B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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