#8A9536#8A9536

#8A9536 is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.2% C 0.119 H 115.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A9536
RGBrgb(138, 149, 54)
HSLhsl(67, 47%, 40%)
HSVhsv(67, 64%, 58%)
CMYKcmyk(7.4%, 0%, 63.8%, 41.6%)
CIE-LABlab(59.13, -17.32, 47.26)
CIE-LCHlch(59.13, 50.33, 110.12°)
OKLaboklab(64.17% -0.0513 0.1078)
OKLCHoklch(64.17% 0.119 115.4)
XYZxyz(21.8950, 27.1648, 7.5792)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9536 #413695
analogous
#957036 #8A9536 #5B9536
triadic
#8A9536 #368A95 #95368A
tetradic
#8A9536 #369570 #413695 #95365B
square
#8A9536 #369570 #413695 #95365B
split-complementary
#8A9536 #365B95 #703695
monochromatic
#373B15 #606826 #8A9536 #B0BE4B #C4CE78

Accessibility & contrast

On white

3.26
#8A9536 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8A9536 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9536
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9536#FFFFFF#000000##000000
##8A95361.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2A
Deuteranopia (green-blind)
#9E8F3C
Tritanopia (blue-blind)
#928D81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9536;
/* rgb */ color: rgb(138, 149, 54);
/* oklch */ color: oklch(64.2% 0.119 115.4);
Tailwind
colors: {
  custom: {
    50: '#afb472',
    500: '#8a9536',
    950: '#000000',
  },
}
SCSS
$custom: #8a9536;
$custom-light: #afb472;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9536",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 54
  },
  "hsl": {
    "h": 66.947,
    "s": 46.798,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.11939,
    "h": 115.4
  },
  "luminance": 0.27165
}

Semantic roles & 50–950 ramp

primary
#8A9536
secondary
#7870B7
accent
#51D661
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9536

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

Preview Lab → · Contrast checker → · Palette generator →

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