#8B9120#8B9120

#8B9120 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.130 H 112.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8B9120
RGBrgb(139, 145, 32)
HSLhsl(63, 64%, 35%)
HSVhsv(63, 78%, 57%)
CMYKcmyk(4.1%, 0%, 77.9%, 43.1%)
CIE-LABlab(57.89, -16.05, 54.62)
CIE-LCHlch(57.89, 56.93, 106.38°)
OKLaboklab(63.15% -0.05 0.1196)
OKLCHoklch(63.15% 0.13 112.7)
XYZxyz(21.0343, 25.8445, 5.2467)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9120 #262091
analogous
#915F20 #8B9120 #529120
triadic
#8B9120 #208B91 #91208B
tetradic
#8B9120 #20915F #262091 #912052
square
#8B9120 #20915F #262091 #912052
split-complementary
#8B9120 #205291 #5F2091
monochromatic
#2B2D0A #5B5F15 #8B9120 #BBC32B #D2D952

Accessibility & contrast

On white

3.40
#8B9120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8B9120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9120
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9120#FFFFFF#000000##000000
##8B91201.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A02
Deuteranopia (green-blind)
#9D8C2A
Tritanopia (blue-blind)
#95887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8b9120;
/* rgb */ color: rgb(139, 145, 32);
/* oklch */ color: oklch(63.1% 0.130 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b166',
    500: '#8b9120',
    950: '#000000',
  },
}
SCSS
$custom: #8b9120;
$custom-light: #b0b166;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9120",
  "rgb": {
    "r": 139,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 63.186,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63148,
    "c": 0.12958,
    "h": 112.7
  },
  "luminance": 0.25844
}

Semantic roles & 50–950 ramp

primary
#8B9120
secondary
#5651BC
accent
#41E74A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B9120

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

Preview Lab → · Contrast checker → · Palette generator →

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