#B99D2D#B99D2D

#B99D2D 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.92:1 contrast (WCAG AA passes).

Color values

HEX#B99D2D
RGBrgb(185, 157, 45)
HSLhsl(48, 61%, 45%)
HSVhsv(48, 76%, 73%)
CMYKcmyk(0%, 15.1%, 75.7%, 27.5%)
CIE-LABlab(65.45, -1.30, 58.63)
CIE-LCHlch(65.45, 58.64, 91.27°)
OKLaboklab(70.18% -0.0098 0.1287)
OKLCHoklch(70.18% 0.129 94.3)
XYZxyz(32.5400, 34.6196, 7.4504)
Luminance0.3462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D2D #2D49B9
analogous
#B9572D #B99D2D #8FB92D
triadic
#B99D2D #2DB99D #9D2DB9
tetradic
#B99D2D #2DB957 #2D49B9 #B92D8F
square
#B99D2D #2DB957 #2D49B9 #B92D8F
split-complementary
#B99D2D #2D8FB9 #572DB9
monochromatic
#574915 #887321 #B99D2D #D4BA4F #E0CD80

Accessibility & contrast

On white

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

On black

7.92
#B99D2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D2D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D2D#FFFFFF#000000##000000
##B99D2D1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b99d2d;
/* rgb */ color: rgb(185, 157, 45);
/* oklch */ color: oklch(70.2% 0.129 94.3);
Tailwind
colors: {
  custom: {
    50: '#d2b96e',
    500: '#b99d2d',
    950: '#000000',
  },
}
SCSS
$custom: #b99d2d;
$custom-light: #d2b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d2d",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 48,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70179,
    "c": 0.12909,
    "h": 94.3
  },
  "luminance": 0.34618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B99D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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