#8B8730#8B8730

#8B8730 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.108 H 106.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8B8730
RGBrgb(139, 135, 48)
HSLhsl(57, 49%, 37%)
HSVhsv(57, 65%, 55%)
CMYKcmyk(0%, 2.9%, 65.5%, 45.5%)
CIE-LABlab(55.10, -9.86, 45.67)
CIE-LCHlch(55.10, 46.72, 102.18°)
OKLaboklab(60.96% -0.031 0.1035)
OKLCHoklch(60.96% 0.108 106.7)
XYZxyz(19.8456, 23.0310, 6.1958)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8730 #30348B
analogous
#8B5A30 #8B8730 #628B30
triadic
#8B8730 #308B87 #87308B
tetradic
#8B8730 #308B5A #30348B #8B3062
square
#8B8730 #308B5A #30348B #8B3062
split-complementary
#8B8730 #30628B #5A308B
monochromatic
#302F11 #5E5B20 #8B8730 #B8B340 #CCC76A

Accessibility & contrast

On white

3.75
#8B8730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8B8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8730
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8730#FFFFFF#000000##000000
##8B87301.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928225
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#957E75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8730;
/* rgb */ color: rgb(139, 135, 48);
/* oklch */ color: oklch(61.0% 0.108 106.7);
Tailwind
colors: {
  custom: {
    50: '#afa96d',
    500: '#8b8730',
    950: '#000000',
  },
}
SCSS
$custom: #8b8730;
$custom-light: #afa96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8730",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 57.363,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60957,
    "c": 0.10805,
    "h": 106.7
  },
  "luminance": 0.2303
}

Semantic roles & 50–950 ramp

primary
#8B8730
secondary
#6467B3
accent
#56D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8730

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

Preview Lab → · Contrast checker → · Palette generator →

#8B8730 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva