#B99831#B99831

#B99831 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 69.2% C 0.124 H 90.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B99831
RGBrgb(185, 152, 49)
HSLhsl(45, 58%, 46%)
HSVhsv(45, 74%, 73%)
CMYKcmyk(0%, 17.8%, 73.5%, 27.5%)
CIE-LABlab(64.16, 1.58, 55.86)
CIE-LCHlch(64.16, 55.88, 88.38°)
OKLaboklab(69.16% -0.0011 0.1236)
OKLCHoklch(69.16% 0.124 90.5)
XYZxyz(31.7920, 32.9945, 7.5992)
Luminance0.3299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99831 #3152B9
analogous
#B95431 #B99831 #96B931
triadic
#B99831 #31B998 #9831B9
tetradic
#B99831 #31B954 #3152B9 #B93196
square
#B99831 #31B954 #3152B9 #B93196
split-complementary
#B99831 #3196B9 #5431B9
monochromatic
#584817 #897024 #B99831 #D2B455 #DFC986

Accessibility & contrast

On white

2.76
#B99831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B99831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99831
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99831#FFFFFF#000000##000000
##B998311.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99621
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#C88B83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b99831;
/* rgb */ color: rgb(185, 152, 49);
/* oklch */ color: oklch(69.2% 0.124 90.5);
Tailwind
colors: {
  custom: {
    50: '#d2b670',
    500: '#b99831',
    950: '#000000',
  },
}
SCSS
$custom: #b99831;
$custom-light: #d2b670;
$custom-dark: #000000;
JSON
{
  "hex": "#b99831",
  "rgb": {
    "r": 185,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 45.441,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69165,
    "c": 0.12362,
    "h": 90.5
  },
  "luminance": 0.32993
}

Semantic roles & 50–950 ramp

primary
#B99831
secondary
#7D90C8
accent
#6CE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99831

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

Preview Lab → · Contrast checker → · Palette generator →

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