#8A9A36#8A9A36

#8A9A36 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.3% C 0.126 H 117.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A9A36
RGBrgb(138, 154, 54)
HSLhsl(70, 48%, 41%)
HSVhsv(70, 65%, 60%)
CMYKcmyk(10.4%, 0%, 64.9%, 39.6%)
CIE-LABlab(60.59, -19.89, 48.81)
CIE-LCHlch(60.59, 52.71, 112.17°)
OKLaboklab(65.34% -0.0585 0.1111)
OKLCHoklch(65.34% 0.126 117.8)
XYZxyz(22.7031, 28.7810, 7.8486)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A36 #46369A
analogous
#9A7836 #8A9A36 #589A36
triadic
#8A9A36 #368A9A #9A368A
tetradic
#8A9A36 #369A78 #46369A #9A3658
square
#8A9A36 #369A78 #46369A #9A3658
split-complementary
#8A9A36 #36589A #78369A
monochromatic
#393F16 #616D26 #8A9A36 #AEC04D #C3D07A

Accessibility & contrast

On white

3.11
#8A9A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#8A9A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A36
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A36#FFFFFF#000000##000000
##8A9A361.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49229
Deuteranopia (green-blind)
#A2933D
Tritanopia (blue-blind)
#929285
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a36;
/* rgb */ color: rgb(138, 154, 54);
/* oklch */ color: oklch(65.3% 0.126 117.8);
Tailwind
colors: {
  custom: {
    50: '#afb772',
    500: '#8a9a36',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a36;
$custom-light: #afb772;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a36",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 54
  },
  "hsl": {
    "h": 69.6,
    "s": 48.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6534,
    "c": 0.12554,
    "h": 117.8
  },
  "luminance": 0.28781
}

Semantic roles & 50–950 ramp

primary
#8A9A36
secondary
#7E73B9
accent
#50D866
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9A36

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

Preview Lab → · Contrast checker → · Palette generator →

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