#B99C2D#B99C2D

#B99C2D is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.0% C 0.128 H 93.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B99C2D
RGBrgb(185, 156, 45)
HSLhsl(48, 61%, 45%)
HSVhsv(48, 76%, 73%)
CMYKcmyk(0%, 15.7%, 75.7%, 27.5%)
CIE-LABlab(65.19, -0.76, 58.38)
CIE-LCHlch(65.19, 58.38, 90.75°)
OKLaboklab(69.97% -0.0082 0.1282)
OKLCHoklch(69.97% 0.128 93.7)
XYZxyz(32.3715, 34.2826, 7.3943)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99C2D #2D4AB9
analogous
#B9562D #B99C2D #90B92D
triadic
#B99C2D #2DB99C #9C2DB9
tetradic
#B99C2D #2DB956 #2D4AB9 #B92D90
square
#B99C2D #2DB956 #2D4AB9 #B92D90
split-complementary
#B99C2D #2D90B9 #562DB9
monochromatic
#574915 #887221 #B99C2D #D4B94F #E0CC80

Accessibility & contrast

On white

2.67
#B99C2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B99C2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99C2D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99C2D#FFFFFF#000000##000000
##B99C2D1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9919
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#C88F86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b99c2d;
/* rgb */ color: rgb(185, 156, 45);
/* oklch */ color: oklch(70.0% 0.128 93.7);
Tailwind
colors: {
  custom: {
    50: '#d2b86e',
    500: '#b99c2d',
    950: '#000000',
  },
}
SCSS
$custom: #b99c2d;
$custom-light: #d2b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#b99c2d",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 47.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6997,
    "c": 0.12846,
    "h": 93.7
  },
  "luminance": 0.34281
}

Semantic roles & 50–950 ramp

primary
#B99C2D
secondary
#7989C9
accent
#65E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B99C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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