#8A911F#8A911F

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

Color values

HEX#8A911F
RGBrgb(138, 145, 31)
HSLhsl(64, 65%, 35%)
HSVhsv(64, 79%, 57%)
CMYKcmyk(4.8%, 0%, 78.6%, 43.1%)
CIE-LABlab(57.80, -16.54, 54.83)
CIE-LCHlch(57.80, 57.27, 106.79°)
OKLaboklab(63.06% -0.0514 0.1199)
OKLCHoklch(63.06% 0.13 113.2)
XYZxyz(20.8546, 25.7535, 5.1684)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A911F #261F91
analogous
#915F1F #8A911F #51911F
triadic
#8A911F #1F8A91 #911F8A
tetradic
#8A911F #1F915F #261F91 #911F51
square
#8A911F #1F915F #261F91 #911F51
split-complementary
#8A911F #1F5191 #5F1F91
monochromatic
#2A2C09 #5A5F14 #8A911F #BAC32A #D1DA51

Accessibility & contrast

On white

3.41
#8A911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8A911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A911F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A911F#FFFFFF#000000##000000
##8A911F1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#94887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a911f;
/* rgb */ color: rgb(138, 145, 31);
/* oklch */ color: oklch(63.1% 0.130 113.2);
Tailwind
colors: {
  custom: {
    50: '#b0b165',
    500: '#8a911f',
    950: '#000000',
  },
}
SCSS
$custom: #8a911f;
$custom-light: #b0b165;
$custom-dark: #000000;
JSON
{
  "hex": "#8a911f",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 63.684,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.13041,
    "h": 113.2
  },
  "luminance": 0.25753
}

Semantic roles & 50–950 ramp

primary
#8A911F
secondary
#564FBD
accent
#40E84A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A911F

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

Preview Lab → · Contrast checker → · Palette generator →

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