#8A911A#8A911A

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

Color values

HEX#8A911A
RGBrgb(138, 145, 26)
HSLhsl(64, 70%, 34%)
HSVhsv(64, 82%, 57%)
CMYKcmyk(4.8%, 0%, 82.1%, 43.1%)
CIE-LABlab(57.78, -16.73, 56.32)
CIE-LCHlch(57.78, 58.75, 106.55°)
OKLaboklab(63.03% -0.0523 0.1221)
OKLCHoklch(63.03% 0.133 113.2)
XYZxyz(20.7938, 25.7291, 4.8479)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A911A #211A91
analogous
#915C1A #8A911A #4E911A
triadic
#8A911A #1A8A91 #911A8A
tetradic
#8A911A #1A915C #211A91 #911A4E
square
#8A911A #1A915C #211A91 #911A4E
split-complementary
#8A911A #1A4E91 #5C1A91
monochromatic
#272907 #595D11 #8A911A #BBC523 #D5DE47

Accessibility & contrast

On white

3.42
#8A911A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A911A#FFFFFF#000000##000000
##8A911A1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a911a;
/* rgb */ color: rgb(138, 145, 26);
/* oklch */ color: oklch(63.0% 0.133 113.2);
Tailwind
colors: {
  custom: {
    50: '#b0b163',
    500: '#8a911a',
    950: '#000000',
  },
}
SCSS
$custom: #8a911a;
$custom-light: #b0b163;
$custom-dark: #000000;
JSON
{
  "hex": "#8a911a",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 26
  },
  "hsl": {
    "h": 63.529,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6303,
    "c": 0.13285,
    "h": 113.2
  },
  "luminance": 0.25729
}

Semantic roles & 50–950 ramp

primary
#8A911A
secondary
#4E47C0
accent
#3BEC46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A911A

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

Preview Lab → · Contrast checker → · Palette generator →

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