#B99A38#B99A38

#B99A38 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.120 H 91.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B99A38
RGBrgb(185, 154, 56)
HSLhsl(46, 54%, 47%)
HSVhsv(46, 70%, 73%)
CMYKcmyk(0%, 16.8%, 69.7%, 27.5%)
CIE-LABlab(64.73, 0.85, 53.56)
CIE-LCHlch(64.73, 53.57, 89.09°)
OKLaboklab(69.64% -0.0024 0.1201)
OKLCHoklch(69.64% 0.12 91.1)
XYZxyz(32.2787, 33.7129, 8.5477)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99A38 #3857B9
analogous
#B95938 #B99A38 #98B938
triadic
#B99A38 #38B99A #9A38B9
tetradic
#B99A38 #38B959 #3857B9 #B93898
square
#B99A38 #38B959 #3857B9 #B93898
split-complementary
#B99A38 #3898B9 #5938B9
monochromatic
#5B4C1C #8A732A #B99A38 #CFB45F #DDCA8E

Accessibility & contrast

On white

2.71
#B99A38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B99A38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99A38
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99A38#FFFFFF#000000##000000
##B99A381.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982B
Deuteranopia (green-blind)
#B2A13D
Tritanopia (blue-blind)
#C88E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99a38;
/* rgb */ color: rgb(185, 154, 56);
/* oklch */ color: oklch(69.6% 0.120 91.1);
Tailwind
colors: {
  custom: {
    50: '#d2b774',
    500: '#b99a38',
    950: '#000000',
  },
}
SCSS
$custom: #b99a38;
$custom-light: #d2b774;
$custom-dark: #000000;
JSON
{
  "hex": "#b99a38",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 56
  },
  "hsl": {
    "h": 45.581,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69637,
    "c": 0.12009,
    "h": 91.1
  },
  "luminance": 0.33711
}

Semantic roles & 50–950 ramp

primary
#B99A38
secondary
#8595C8
accent
#6EDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99A38

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

Preview Lab → · Contrast checker → · Palette generator →

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