#8A9546#8A9546

#8A9546 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.3% C 0.105 H 116.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A9546
RGBrgb(138, 149, 70)
HSLhsl(68, 36%, 43%)
HSVhsv(68, 53%, 58%)
CMYKcmyk(7.4%, 0%, 53%, 41.6%)
CIE-LABlab(59.29, -15.98, 39.89)
CIE-LCHlch(59.29, 42.97, 111.82°)
OKLaboklab(64.35% -0.0458 0.094)
OKLCHoklch(64.35% 0.105 116)
XYZxyz(22.3345, 27.3406, 9.8939)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9546 #514695
analogous
#957846 #8A9546 #639546
triadic
#8A9546 #468A95 #95468A
tetradic
#8A9546 #469578 #514695 #954663
square
#8A9546 #469578 #514695 #954663
split-complementary
#8A9546 #466395 #784695
monochromatic
#3D421F #636B32 #8A9546 #AAB663 #C1C98C

Accessibility & contrast

On white

3.25
#8A9546 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8A9546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9546
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9546#FFFFFF#000000##000000
##8A95461.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E3F
Deuteranopia (green-blind)
#9D8F4A
Tritanopia (blue-blind)
#918E83
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9546;
/* rgb */ color: rgb(138, 149, 70);
/* oklch */ color: oklch(64.3% 0.105 116.0);
Tailwind
colors: {
  custom: {
    50: '#aeb47c',
    500: '#8a9546',
    950: '#000000',
  },
}
SCSS
$custom: #8a9546;
$custom-light: #aeb47c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9546",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 70
  },
  "hsl": {
    "h": 68.354,
    "s": 36.073,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64349,
    "c": 0.10457,
    "h": 116
  },
  "luminance": 0.2734
}

Semantic roles & 50–950 ramp

primary
#8A9546
secondary
#8982B5
accent
#5CCC6B
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9546

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

Preview Lab → · Contrast checker → · Palette generator →

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