#B99F40#B99F40

#B99F40 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.8% C 0.117 H 93.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B99F40
RGBrgb(185, 159, 64)
HSLhsl(47, 49%, 49%)
HSVhsv(47, 65%, 73%)
CMYKcmyk(0%, 14.1%, 65.4%, 27.5%)
CIE-LABlab(66.12, -1.38, 51.53)
CIE-LCHlch(66.12, 51.55, 91.53°)
OKLaboklab(70.76% -0.0078 0.1171)
OKLCHoklch(70.76% 0.117 93.8)
XYZxyz(33.3327, 35.4825, 9.9426)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99F40 #405AB9
analogous
#B96340 #B99F40 #97B940
triadic
#B99F40 #40B99F #9F40B9
tetradic
#B99F40 #40B963 #405AB9 #B94097
square
#B99F40 #40B963 #405AB9 #B94097
split-complementary
#B99F40 #4097B9 #6340B9
monochromatic
#5E5121 #8C7830 #B99F40 #CCB76B #DBCD98

Accessibility & contrast

On white

2.59
#B99F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B99F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99F40
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99F40#FFFFFF#000000##000000
##B99F401.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C35
Deuteranopia (green-blind)
#B5A445
Tritanopia (blue-blind)
#C7938B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b99f40;
/* rgb */ color: rgb(185, 159, 64);
/* oklch */ color: oklch(70.8% 0.117 93.8);
Tailwind
colors: {
  custom: {
    50: '#d1bb79',
    500: '#b99f40',
    950: '#000000',
  },
}
SCSS
$custom: #b99f40;
$custom-light: #d1bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b99f40",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 47.107,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70755,
    "c": 0.11737,
    "h": 93.8
  },
  "luminance": 0.35481
}

Semantic roles & 50–950 ramp

primary
#B99F40
secondary
#8E9AC7
accent
#6DD850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B99F40

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

Preview Lab → · Contrast checker → · Palette generator →

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