#8A9745#8A9745

#8A9745 is a light, moderate yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.108 H 117.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8A9745
RGBrgb(138, 151, 69)
HSLhsl(70, 37%, 43%)
HSVhsv(70, 54%, 59%)
CMYKcmyk(8.6%, 0%, 54.3%, 40.8%)
CIE-LABlab(59.86, -17.11, 41.05)
CIE-LCHlch(59.86, 44.48, 112.63°)
OKLaboklab(64.8% -0.0491 0.0964)
OKLCHoklch(64.8% 0.108 117)
XYZxyz(22.6223, 27.9664, 9.8354)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9745 #524597
analogous
#977B45 #8A9745 #619745
triadic
#8A9745 #458A97 #97458A
tetradic
#8A9745 #45977B #524597 #974561
square
#8A9745 #45977B #524597 #974561
split-complementary
#8A9745 #456197 #7B4597
monochromatic
#3D431F #646D32 #8A9745 #AAB762 #C1CA8C

Accessibility & contrast

On white

3.19
#8A9745 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8A9745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9745
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9745#FFFFFF#000000##000000
##8A97451.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0903D
Deuteranopia (green-blind)
#9F914A
Tritanopia (blue-blind)
#919085
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9745;
/* rgb */ color: rgb(138, 151, 69);
/* oklch */ color: oklch(64.8% 0.108 117.0);
Tailwind
colors: {
  custom: {
    50: '#aeb57b',
    500: '#8a9745',
    950: '#000000',
  },
}
SCSS
$custom: #8a9745;
$custom-light: #aeb57b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9745",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 69
  },
  "hsl": {
    "h": 69.512,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.10821,
    "h": 117
  },
  "luminance": 0.27966
}

Semantic roles & 50–950 ramp

primary
#8A9745
secondary
#8A82B6
accent
#5BCD6D
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9745

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

Preview Lab → · Contrast checker → · Palette generator →

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