#B99730#B99730

#B99730 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 69.0% C 0.124 H 89.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B99730
RGBrgb(185, 151, 48)
HSLhsl(45, 59%, 46%)
HSVhsv(45, 74%, 73%)
CMYKcmyk(0%, 18.4%, 74.1%, 27.5%)
CIE-LABlab(63.89, 2.07, 55.99)
CIE-LCHlch(63.89, 56.03, 87.88°)
OKLaboklab(68.95% 0.0002 0.1237)
OKLCHoklch(68.95% 0.124 89.9)
XYZxyz(31.6095, 32.6629, 7.4354)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99730 #3052B9
analogous
#B95230 #B99730 #97B930
triadic
#B99730 #30B997 #9730B9
tetradic
#B99730 #30B952 #3052B9 #B93097
square
#B99730 #30B952 #3052B9 #B93097
split-complementary
#B99730 #3097B9 #5230B9
monochromatic
#584817 #886F23 #B99730 #D3B354 #DFC984

Accessibility & contrast

On white

2.79
#B99730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B99730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99730
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99730#FFFFFF#000000##000000
##B997301.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#C88A83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b99730;
/* rgb */ color: rgb(185, 151, 48);
/* oklch */ color: oklch(69.0% 0.124 89.9);
Tailwind
colors: {
  custom: {
    50: '#d2b56f',
    500: '#b99730',
    950: '#000000',
  },
}
SCSS
$custom: #b99730;
$custom-light: #d2b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b99730",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 45.109,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6895,
    "c": 0.12371,
    "h": 89.9
  },
  "luminance": 0.32661
}

Semantic roles & 50–950 ramp

primary
#B99730
secondary
#7C8FC9
accent
#6DE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99730

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

Preview Lab → · Contrast checker → · Palette generator →

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