#B99E40#B99E40

#B99E40 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.117 H 93.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B99E40
RGBrgb(185, 158, 64)
HSLhsl(47, 49%, 49%)
HSVhsv(47, 65%, 73%)
CMYKcmyk(0%, 14.6%, 65.4%, 27.5%)
CIE-LABlab(65.86, -0.84, 51.24)
CIE-LCHlch(65.86, 51.25, 90.94°)
OKLaboklab(70.55% -0.0063 0.1165)
OKLCHoklch(70.55% 0.117 93.1)
XYZxyz(33.1615, 35.1399, 9.8855)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99E40 #405BB9
analogous
#B96240 #B99E40 #98B940
triadic
#B99E40 #40B99E #9E40B9
tetradic
#B99E40 #40B962 #405BB9 #B94098
square
#B99E40 #40B962 #405BB9 #B94098
split-complementary
#B99E40 #4098B9 #6240B9
monochromatic
#5E5021 #8C7730 #B99E40 #CCB66B #DBCC98

Accessibility & contrast

On white

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

On black

8.03
#B99E40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99E40
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99E40#FFFFFF#000000##000000
##B99E401.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#B5A344
Tritanopia (blue-blind)
#C7928A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b99e40;
/* rgb */ color: rgb(185, 158, 64);
/* oklch */ color: oklch(70.5% 0.117 93.1);
Tailwind
colors: {
  custom: {
    50: '#d1ba79',
    500: '#b99e40',
    950: '#000000',
  },
}
SCSS
$custom: #b99e40;
$custom-light: #d1ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#b99e40",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 46.612,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70545,
    "c": 0.11667,
    "h": 93.1
  },
  "luminance": 0.35138
}

Semantic roles & 50–950 ramp

primary
#B99E40
secondary
#8E9AC7
accent
#6ED850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B99E40

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

Preview Lab → · Contrast checker → · Palette generator →

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