#B99E38#B99E38

#B99E38 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.123 H 94.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B99E38
RGBrgb(185, 158, 56)
HSLhsl(47, 54%, 47%)
HSVhsv(47, 70%, 73%)
CMYKcmyk(0%, 14.6%, 69.7%, 27.5%)
CIE-LABlab(65.79, -1.31, 54.64)
CIE-LCHlch(65.79, 54.66, 91.37°)
OKLaboklab(70.47% -0.0086 0.1224)
OKLCHoklch(70.47% 0.123 94)
XYZxyz(32.9499, 35.0553, 8.7714)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99E38 #3853B9
analogous
#B95E38 #B99E38 #94B938
triadic
#B99E38 #38B99E #9E38B9
tetradic
#B99E38 #38B95E #3853B9 #B93894
square
#B99E38 #38B95E #3853B9 #B93894
split-complementary
#B99E38 #3894B9 #5E38B9
monochromatic
#5B4E1C #8A762A #B99E38 #CFB75F #DDCD8E

Accessibility & contrast

On white

2.62
#B99E38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B99E38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99E38
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99E38#FFFFFF#000000##000000
##B99E381.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#C89289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b99e38;
/* rgb */ color: rgb(185, 158, 56);
/* oklch */ color: oklch(70.5% 0.123 94.0);
Tailwind
colors: {
  custom: {
    50: '#d2ba74',
    500: '#b99e38',
    950: '#000000',
  },
}
SCSS
$custom: #b99e38;
$custom-light: #d2ba74;
$custom-dark: #000000;
JSON
{
  "hex": "#b99e38",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 56
  },
  "hsl": {
    "h": 47.442,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70472,
    "c": 0.12266,
    "h": 94
  },
  "luminance": 0.35054
}

Semantic roles & 50–950 ramp

primary
#B99E38
secondary
#8593C8
accent
#69DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #B99E38

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

Preview Lab → · Contrast checker → · Palette generator →

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