#B99F3B#B99F3B

#B99F3B is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.121 H 94.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B99F3B
RGBrgb(185, 159, 59)
HSLhsl(48, 52%, 48%)
HSVhsv(48, 68%, 73%)
CMYKcmyk(0%, 14.1%, 68.1%, 27.5%)
CIE-LABlab(66.08, -1.68, 53.67)
CIE-LCHlch(66.08, 53.70, 91.79°)
OKLaboklab(70.71% -0.0093 0.1208)
OKLCHoklch(70.71% 0.121 94.4)
XYZxyz(33.1968, 35.4281, 9.2266)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99F3B #3B55B9
analogous
#B9603B #B99F3B #94B93B
triadic
#B99F3B #3BB99F #9F3BB9
tetradic
#B99F3B #3BB960 #3B55B9 #B93B94
square
#B99F3B #3BB960 #3B55B9 #B93B94
split-complementary
#B99F3B #3B94B9 #603BB9
monochromatic
#5C4F1D #8B772C #B99F3B #CDB864 #DCCD92

Accessibility & contrast

On white

2.60
#B99F3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B99F3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99F3B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99F3B#FFFFFF#000000##000000
##B99F3B1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2E
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#C8938A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b99f3b;
/* rgb */ color: rgb(185, 159, 59);
/* oklch */ color: oklch(70.7% 0.121 94.4);
Tailwind
colors: {
  custom: {
    50: '#d1bb76',
    500: '#b99f3b',
    950: '#000000',
  },
}
SCSS
$custom: #b99f3b;
$custom-light: #d1bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b99f3b",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 59
  },
  "hsl": {
    "h": 47.619,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70708,
    "c": 0.12119,
    "h": 94.4
  },
  "luminance": 0.35426
}

Semantic roles & 50–950 ramp

primary
#B99F3B
secondary
#8895C7
accent
#6ADB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B99F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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