#8A961A#8A961A

#8A961A is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.2% C 0.138 H 115.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A961A
RGBrgb(138, 150, 26)
HSLhsl(66, 70%, 35%)
HSVhsv(66, 83%, 59%)
CMYKcmyk(8%, 0%, 82.7%, 41.2%)
CIE-LABlab(59.24, -19.32, 57.60)
CIE-LCHlch(59.24, 60.75, 108.54°)
OKLaboklab(64.2% -0.0594 0.1249)
OKLCHoklch(64.2% 0.138 115.5)
XYZxyz(21.5747, 27.2909, 5.1082)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A961A #261A96
analogous
#96641A #8A961A #4C961A
triadic
#8A961A #1A8A96 #961A8A
tetradic
#8A961A #1A9664 #261A96 #961A4C
square
#8A961A #1A9664 #261A96 #961A4C
split-complementary
#8A961A #1A4C96 #641A96
monochromatic
#2A2E08 #5A6211 #8A961A #BACA23 #D1E04B

Accessibility & contrast

On white

3.25
#8A961A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8A961A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A961A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A961A#FFFFFF#000000##000000
##8A961A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#938D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a961a;
/* rgb */ color: rgb(138, 150, 26);
/* oklch */ color: oklch(64.2% 0.138 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b464',
    500: '#8a961a',
    950: '#000000',
  },
}
SCSS
$custom: #8a961a;
$custom-light: #b0b464;
$custom-dark: #000000;
JSON
{
  "hex": "#8a961a",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 26
  },
  "hsl": {
    "h": 65.806,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.64204,
    "c": 0.13829,
    "h": 115.5
  },
  "luminance": 0.27291
}

Semantic roles & 50–950 ramp

primary
#8A961A
secondary
#564AC2
accent
#3BED4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A961A

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

Preview Lab → · Contrast checker → · Palette generator →

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