#B99F38#B99F38

#B99F38 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.123 H 94.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B99F38
RGBrgb(185, 159, 56)
HSLhsl(48, 54%, 47%)
HSVhsv(48, 70%, 73%)
CMYKcmyk(0%, 14.1%, 69.7%, 27.5%)
CIE-LABlab(66.06, -1.84, 54.91)
CIE-LCHlch(66.06, 54.94, 91.92°)
OKLaboklab(70.68% -0.0101 0.1229)
OKLCHoklch(70.68% 0.123 94.7)
XYZxyz(33.1212, 35.3979, 8.8285)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99F38 #3852B9
analogous
#B95F38 #B99F38 #93B938
triadic
#B99F38 #38B99F #9F38B9
tetradic
#B99F38 #38B95F #3852B9 #B93893
square
#B99F38 #38B95F #3852B9 #B93893
split-complementary
#B99F38 #3893B9 #5F38B9
monochromatic
#5B4E1C #8A772A #B99F38 #CFB85F #DDCD8E

Accessibility & contrast

On white

2.60
#B99F38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B99F38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99F38
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99F38#FFFFFF#000000##000000
##B99F381.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2A
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#C8938A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b99f38;
/* rgb */ color: rgb(185, 159, 56);
/* oklch */ color: oklch(70.7% 0.123 94.7);
Tailwind
colors: {
  custom: {
    50: '#d2bb74',
    500: '#b99f38',
    950: '#000000',
  },
}
SCSS
$custom: #b99f38;
$custom-light: #d2bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b99f38",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 47.907,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.12335,
    "h": 94.7
  },
  "luminance": 0.35396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B99F38

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

Preview Lab → · Contrast checker → · Palette generator →

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