#B99D40#B99D40

#B99D40 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.3% C 0.116 H 92.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B99D40
RGBrgb(185, 157, 64)
HSLhsl(46, 49%, 49%)
HSVhsv(46, 65%, 73%)
CMYKcmyk(0%, 15.1%, 65.4%, 27.5%)
CIE-LABlab(65.59, -0.30, 50.96)
CIE-LCHlch(65.59, 50.96, 90.34°)
OKLaboklab(70.34% -0.0047 0.1159)
OKLCHoklch(70.34% 0.116 92.3)
XYZxyz(32.9916, 34.8002, 9.8289)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D40 #405CB9
analogous
#B96140 #B99D40 #99B940
triadic
#B99D40 #40B99D #9D40B9
tetradic
#B99D40 #40B961 #405CB9 #B94099
square
#B99D40 #40B961 #405CB9 #B94099
split-complementary
#B99D40 #4099B9 #6140B9
monochromatic
#5E5021 #8C7630 #B99D40 #CCB56B #DBCC98

Accessibility & contrast

On white

2.64
#B99D40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#B99D40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D40
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D40#FFFFFF#000000##000000
##B99D401.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B35
Deuteranopia (green-blind)
#B4A344
Tritanopia (blue-blind)
#C79189
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d40;
/* rgb */ color: rgb(185, 157, 64);
/* oklch */ color: oklch(70.3% 0.116 92.3);
Tailwind
colors: {
  custom: {
    50: '#d1b979',
    500: '#b99d40',
    950: '#000000',
  },
}
SCSS
$custom: #b99d40;
$custom-light: #d1b979;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d40",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 46.116,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70336,
    "c": 0.116,
    "h": 92.3
  },
  "luminance": 0.34798
}

Semantic roles & 50–950 ramp

primary
#B99D40
secondary
#8E9BC7
accent
#6FD850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B99D40

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

Preview Lab → · Contrast checker → · Palette generator →

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