#8A9736#8A9736

#8A9736 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.6% C 0.122 H 116.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A9736
RGBrgb(138, 151, 54)
HSLhsl(68, 47%, 40%)
HSVhsv(68, 64%, 59%)
CMYKcmyk(8.6%, 0%, 64.2%, 40.8%)
CIE-LABlab(59.71, -18.35, 47.88)
CIE-LCHlch(59.71, 51.28, 110.97°)
OKLaboklab(64.64% -0.0542 0.1091)
OKLCHoklch(64.64% 0.122 116.4)
XYZxyz(22.2142, 27.8031, 7.6856)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9736 #433697
analogous
#977336 #8A9736 #5A9736
triadic
#8A9736 #368A97 #97368A
tetradic
#8A9736 #369773 #433697 #97365A
square
#8A9736 #369773 #433697 #97365A
split-complementary
#8A9736 #365A97 #733697
monochromatic
#383D16 #616A26 #8A9736 #AFBF4B #C3CF78

Accessibility & contrast

On white

3.20
#8A9736 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8A9736 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9736
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9736#FFFFFF#000000##000000
##8A97361.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2A
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#928F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9736;
/* rgb */ color: rgb(138, 151, 54);
/* oklch */ color: oklch(64.6% 0.122 116.4);
Tailwind
colors: {
  custom: {
    50: '#afb572',
    500: '#8a9736',
    950: '#000000',
  },
}
SCSS
$custom: #8a9736;
$custom-light: #afb572;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9736",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 54
  },
  "hsl": {
    "h": 68.041,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64636,
    "c": 0.12183,
    "h": 116.4
  },
  "luminance": 0.27803
}

Semantic roles & 50–950 ramp

primary
#8A9736
secondary
#7B71B8
accent
#51D763
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9736

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

Preview Lab → · Contrast checker → · Palette generator →

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