#8A8F36#8A8F36

#8A8F36 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.112 H 112.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A8F36
RGBrgb(138, 143, 54)
HSLhsl(63, 45%, 39%)
HSVhsv(63, 62%, 56%)
CMYKcmyk(3.5%, 0%, 62.2%, 43.9%)
CIE-LABlab(57.38, -14.17, 45.38)
CIE-LCHlch(57.38, 47.54, 107.34°)
OKLaboklab(62.77% -0.0424 0.1038)
OKLCHoklch(62.77% 0.112 112.2)
XYZxyz(20.9701, 25.3150, 7.2709)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F36 #3B368F
analogous
#8F6736 #8A8F36 #5D8F36
triadic
#8A8F36 #368A8F #8F368A
tetradic
#8A8F36 #368F67 #3B368F #8F365D
square
#8A8F36 #368F67 #3B368F #8F365D
split-complementary
#8A8F36 #365D8F #67368F
monochromatic
#343614 #5F6325 #8A8F36 #B4BA48 #C6CB75

Accessibility & contrast

On white

3.46
#8A8F36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8A8F36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F36
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F36#FFFFFF#000000##000000
##8A8F361.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99892B
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8f36;
/* rgb */ color: rgb(138, 143, 54);
/* oklch */ color: oklch(62.8% 0.112 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeaf71',
    500: '#8a8f36',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f36;
$custom-light: #aeaf71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f36",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 63.371,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.11217,
    "h": 112.2
  },
  "luminance": 0.25315
}

Semantic roles & 50–950 ramp

primary
#8A8F36
secondary
#716DB3
accent
#53D55A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8F36

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

Preview Lab → · Contrast checker → · Palette generator →

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