#B99D2E#B99D2E

#B99D2E is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.129 H 94.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B99D2E
RGBrgb(185, 157, 46)
HSLhsl(48, 60%, 45%)
HSVhsv(48, 75%, 73%)
CMYKcmyk(0%, 15.1%, 75.1%, 27.5%)
CIE-LABlab(65.46, -1.26, 58.27)
CIE-LCHlch(65.46, 58.28, 91.24°)
OKLaboklab(70.19% -0.0095 0.1281)
OKLCHoklch(70.19% 0.129 94.3)
XYZxyz(32.5595, 34.6273, 7.5530)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D2E #2E4AB9
analogous
#B9582E #B99D2E #8FB92E
triadic
#B99D2E #2EB99D #9D2EB9
tetradic
#B99D2E #2EB958 #2E4AB9 #B92E8F
square
#B99D2E #2EB958 #2E4AB9 #B92E8F
split-complementary
#B99D2E #2E8FB9 #582EB9
monochromatic
#574A16 #887322 #B99D2E #D4B951 #E0CD82

Accessibility & contrast

On white

2.65
#B99D2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B99D2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D2E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D2E#FFFFFF#000000##000000
##B99D2E1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#C89087
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d2e;
/* rgb */ color: rgb(185, 157, 46);
/* oklch */ color: oklch(70.2% 0.129 94.3);
Tailwind
colors: {
  custom: {
    50: '#d2b96f',
    500: '#b99d2e',
    950: '#000000',
  },
}
SCSS
$custom: #b99d2e;
$custom-light: #d2b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d2e",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 47.914,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70186,
    "c": 0.12851,
    "h": 94.3
  },
  "luminance": 0.34625
}

Semantic roles & 50–950 ramp

primary
#B99D2E
secondary
#7A8AC9
accent
#64E344
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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