#B99D38#B99D38

#B99D38 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.3% C 0.122 H 93.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B99D38
RGBrgb(185, 157, 56)
HSLhsl(47, 54%, 47%)
HSVhsv(47, 70%, 73%)
CMYKcmyk(0%, 15.1%, 69.7%, 27.5%)
CIE-LABlab(65.53, -0.77, 54.37)
CIE-LCHlch(65.53, 54.38, 90.81°)
OKLaboklab(70.26% -0.007 0.1218)
OKLCHoklch(70.26% 0.122 93.3)
XYZxyz(32.7800, 34.7156, 8.7148)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D38 #3854B9
analogous
#B95D38 #B99D38 #94B938
triadic
#B99D38 #38B99D #9D38B9
tetradic
#B99D38 #38B95D #3854B9 #B93894
square
#B99D38 #38B95D #3854B9 #B93894
split-complementary
#B99D38 #3894B9 #5D38B9
monochromatic
#5B4D1C #8A752A #B99D38 #CFB75F #DDCC8E

Accessibility & contrast

On white

2.64
#B99D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B99D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D38
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D38#FFFFFF#000000##000000
##B99D381.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A2A
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#C89188
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d38;
/* rgb */ color: rgb(185, 157, 56);
/* oklch */ color: oklch(70.3% 0.122 93.3);
Tailwind
colors: {
  custom: {
    50: '#d2b974',
    500: '#b99d38',
    950: '#000000',
  },
}
SCSS
$custom: #b99d38;
$custom-light: #d2b974;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d38",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 46.977,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70263,
    "c": 0.12199,
    "h": 93.3
  },
  "luminance": 0.34714
}

Semantic roles & 50–950 ramp

primary
#B99D38
secondary
#8594C8
accent
#6BDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #B99D38

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

Preview Lab → · Contrast checker → · Palette generator →

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