#B99B2D#B99B2D

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

Color values

HEX#B99B2D
RGBrgb(185, 155, 45)
HSLhsl(47, 61%, 45%)
HSVhsv(47, 76%, 73%)
CMYKcmyk(0%, 16.2%, 75.7%, 27.5%)
CIE-LABlab(64.92, -0.23, 58.13)
CIE-LCHlch(64.92, 58.13, 90.22°)
OKLaboklab(69.76% -0.0067 0.1277)
OKLCHoklch(69.76% 0.128 93)
XYZxyz(32.2044, 33.9483, 7.3386)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B2D #2D4BB9
analogous
#B9552D #B99B2D #91B92D
triadic
#B99B2D #2DB99B #9B2DB9
tetradic
#B99B2D #2DB955 #2D4BB9 #B92D91
square
#B99B2D #2DB955 #2D4BB9 #B92D91
split-complementary
#B99B2D #2D91B9 #552DB9
monochromatic
#574915 #887221 #B99B2D #D4B84F #E0CC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99B2D#FFFFFF#000000##000000
##B99B2D1.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)
#AC9819
Deuteranopia (green-blind)
#B4A134
Tritanopia (blue-blind)
#C88E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99b2d;
/* rgb */ color: rgb(185, 155, 45);
/* oklch */ color: oklch(69.8% 0.128 93.0);
Tailwind
colors: {
  custom: {
    50: '#d2b86e',
    500: '#b99b2d',
    950: '#000000',
  },
}
SCSS
$custom: #b99b2d;
$custom-light: #d2b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b2d",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 47.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69761,
    "c": 0.12783,
    "h": 93
  },
  "luminance": 0.33946
}

Semantic roles & 50–950 ramp

primary
#B99B2D
secondary
#798AC9
accent
#66E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B99B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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