#8A9436#8A9436

#8A9436 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 63.9% C 0.118 H 114.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A9436
RGBrgb(138, 148, 54)
HSLhsl(66, 47%, 40%)
HSVhsv(66, 64%, 58%)
CMYKcmyk(6.8%, 0%, 63.5%, 42%)
CIE-LABlab(58.84, -16.80, 46.94)
CIE-LCHlch(58.84, 49.86, 109.69°)
OKLaboklab(63.93% -0.0498 0.1072)
OKLCHoklch(63.93% 0.118 114.9)
XYZxyz(21.7375, 26.8498, 7.5267)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9436 #403694
analogous
#946F36 #8A9436 #5B9436
triadic
#8A9436 #368A94 #94368A
tetradic
#8A9436 #36946F #403694 #94365B
square
#8A9436 #36946F #403694 #94365B
split-complementary
#8A9436 #365B94 #6F3694
monochromatic
#363A15 #606726 #8A9436 #B1BD4A #C4CD77

Accessibility & contrast

On white

3.30
#8A9436 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#8A9436 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9436
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9436#FFFFFF#000000##000000
##8A94361.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2A
Deuteranopia (green-blind)
#9E8E3C
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9436;
/* rgb */ color: rgb(138, 148, 54);
/* oklch */ color: oklch(63.9% 0.118 114.9);
Tailwind
colors: {
  custom: {
    50: '#afb372',
    500: '#8a9436',
    950: '#000000',
  },
}
SCSS
$custom: #8a9436;
$custom-light: #afb372;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9436",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 54
  },
  "hsl": {
    "h": 66.383,
    "s": 46.535,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63934,
    "c": 0.11817,
    "h": 114.9
  },
  "luminance": 0.26849
}

Semantic roles & 50–950 ramp

primary
#8A9436
secondary
#7770B6
accent
#52D660
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9436

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

Preview Lab → · Contrast checker → · Palette generator →

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