#B99B2E#B99B2E

#B99B2E is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.127 H 92.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B99B2E
RGBrgb(185, 155, 46)
HSLhsl(47, 60%, 45%)
HSVhsv(47, 75%, 73%)
CMYKcmyk(0%, 16.2%, 75.1%, 27.5%)
CIE-LABlab(64.93, -0.18, 57.76)
CIE-LCHlch(64.93, 57.76, 90.18°)
OKLaboklab(69.77% -0.0065 0.1271)
OKLCHoklch(69.77% 0.127 92.9)
XYZxyz(32.2239, 33.9561, 7.4412)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B2E #2E4CB9
analogous
#B9552E #B99B2E #92B92E
triadic
#B99B2E #2EB99B #9B2EB9
tetradic
#B99B2E #2EB955 #2E4CB9 #B92E92
square
#B99B2E #2EB955 #2E4CB9 #B92E92
split-complementary
#B99B2E #2E92B9 #552EB9
monochromatic
#574916 #887222 #B99B2E #D4B751 #E0CB82

Accessibility & contrast

On white

2.70
#B99B2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B99B2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99B2E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99B2E#FFFFFF#000000##000000
##B99B2E1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981B
Deuteranopia (green-blind)
#B4A134
Tritanopia (blue-blind)
#C88E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b99b2e;
/* rgb */ color: rgb(185, 155, 46);
/* oklch */ color: oklch(69.8% 0.127 92.9);
Tailwind
colors: {
  custom: {
    50: '#d2b86f',
    500: '#b99b2e',
    950: '#000000',
  },
}
SCSS
$custom: #b99b2e;
$custom-light: #d2b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b2e",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 47.05,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.12724,
    "h": 92.9
  },
  "luminance": 0.33954
}

Semantic roles & 50–950 ramp

primary
#B99B2E
secondary
#7A8BC9
accent
#67E344
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B99B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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