#B99728#B99728

#B99728 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.9% C 0.128 H 90.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B99728
RGBrgb(185, 151, 40)
HSLhsl(46, 64%, 44%)
HSVhsv(46, 78%, 73%)
CMYKcmyk(0%, 18.4%, 78.4%, 27.5%)
CIE-LABlab(63.84, 1.74, 58.92)
CIE-LCHlch(63.84, 58.94, 88.31°)
OKLaboklab(68.9% -0.0016 0.1283)
OKLCHoklch(68.9% 0.128 90.7)
XYZxyz(31.4591, 32.6027, 6.6431)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99728 #284AB9
analogous
#B94F28 #B99728 #93B928
triadic
#B99728 #28B997 #9728B9
tetradic
#B99728 #28B94F #284AB9 #B92893
square
#B99728 #28B94F #284AB9 #B92893
split-complementary
#B99728 #2893B9 #4F28B9
monochromatic
#544512 #876E1D #B99728 #D7B547 #E2CA79

Accessibility & contrast

On white

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

On black

7.52
#B99728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99728
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99728#FFFFFF#000000##000000
##B997281.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99511
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#C98A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b99728;
/* rgb */ color: rgb(185, 151, 40);
/* oklch */ color: oklch(68.9% 0.128 90.7);
Tailwind
colors: {
  custom: {
    50: '#d2b56b',
    500: '#b99728',
    950: '#000000',
  },
}
SCSS
$custom: #b99728;
$custom-light: #d2b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#b99728",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 45.931,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68896,
    "c": 0.12831,
    "h": 90.7
  },
  "luminance": 0.32601
}

Semantic roles & 50–950 ramp

primary
#B99728
secondary
#7387CA
accent
#68E740
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B99728

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

Preview Lab → · Contrast checker → · Palette generator →

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