#8A8D36#8A8D36

#8A8D36 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.110 H 111.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8D36
RGBrgb(138, 141, 54)
HSLhsl(62, 45%, 38%)
HSVhsv(62, 62%, 55%)
CMYKcmyk(2.1%, 0%, 61.7%, 44.7%)
CIE-LABlab(56.80, -13.11, 44.75)
CIE-LCHlch(56.80, 46.63, 106.33°)
OKLaboklab(62.31% -0.0394 0.1025)
OKLCHoklch(62.31% 0.11 111.1)
XYZxyz(20.6725, 24.7199, 7.1717)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D36 #39368D
analogous
#8D6436 #8A8D36 #5E8D36
triadic
#8A8D36 #368A8D #8D368A
tetradic
#8A8D36 #368D64 #39368D #8D365E
square
#8A8D36 #368D64 #39368D #8D365E
split-complementary
#8A8D36 #365E8D #64368D
monochromatic
#333414 #5F6125 #8A8D36 #B5B947 #C7CA74

Accessibility & contrast

On white

3.53
#8A8D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8A8D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D36
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D36#FFFFFF#000000##000000
##8A8D361.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872C
Deuteranopia (green-blind)
#98893B
Tritanopia (blue-blind)
#93857B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d36;
/* rgb */ color: rgb(138, 141, 54);
/* oklch */ color: oklch(62.3% 0.110 111.1);
Tailwind
colors: {
  custom: {
    50: '#aeae71',
    500: '#8a8d36',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d36;
$custom-light: #aeae71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d36",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 62.069,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62307,
    "c": 0.10983,
    "h": 111.1
  },
  "luminance": 0.24719
}

Semantic roles & 50–950 ramp

primary
#8A8D36
secondary
#6F6DB2
accent
#53D458
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8D36

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

Preview Lab → · Contrast checker → · Palette generator →

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