#8B911F#8B911F

#8B911F 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#8B911F
RGBrgb(139, 145, 31)
HSLhsl(63, 65%, 35%)
HSVhsv(63, 79%, 57%)
CMYKcmyk(4.1%, 0%, 78.6%, 43.1%)
CIE-LABlab(57.88, -16.09, 54.94)
CIE-LCHlch(57.88, 57.24, 106.33°)
OKLaboklab(63.14% -0.0502 0.12)
OKLCHoklch(63.14% 0.13 112.7)
XYZxyz(21.0209, 25.8392, 5.1762)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B911F #251F91
analogous
#915E1F #8B911F #52911F
triadic
#8B911F #1F8B91 #911F8B
tetradic
#8B911F #1F915E #251F91 #911F52
square
#8B911F #1F915E #251F91 #911F52
split-complementary
#8B911F #1F5291 #5E1F91
monochromatic
#2A2C09 #5B5F14 #8B911F #BBC32A #D3DA51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B911F#FFFFFF#000000##000000
##8B911F1.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)
#9C8A00
Deuteranopia (green-blind)
#9D8C29
Tritanopia (blue-blind)
#95887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8b911f;
/* rgb */ color: rgb(139, 145, 31);
/* oklch */ color: oklch(63.1% 0.130 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b165',
    500: '#8b911f',
    950: '#000000',
  },
}
SCSS
$custom: #8b911f;
$custom-light: #b0b165;
$custom-dark: #000000;
JSON
{
  "hex": "#8b911f",
  "rgb": {
    "r": 139,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 63.158,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.13011,
    "h": 112.7
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#8B911F
secondary
#554FBD
accent
#40E849
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B911F

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

Preview Lab → · Contrast checker → · Palette generator →

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