#8A9748#8A9748

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

Color values

HEX#8A9748
RGBrgb(138, 151, 72)
HSLhsl(70, 35%, 44%)
HSVhsv(70, 52%, 59%)
CMYKcmyk(8.6%, 0%, 52.3%, 40.8%)
CIE-LABlab(59.89, -16.83, 39.61)
CIE-LCHlch(59.89, 43.03, 113.02°)
OKLaboklab(64.84% -0.048 0.0936)
OKLCHoklch(64.84% 0.105 117.2)
XYZxyz(22.7178, 28.0046, 10.3383)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9748 #554897
analogous
#977C48 #8A9748 #629748
triadic
#8A9748 #488A97 #97488A
tetradic
#8A9748 #48977C #554897 #974862
square
#8A9748 #48977C #554897 #974862
split-complementary
#8A9748 #486297 #7C4897
monochromatic
#3E4420 #646E34 #8A9748 #A9B666 #C0CA90

Accessibility & contrast

On white

3.18
#8A9748 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A9748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9748
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9748#FFFFFF#000000##000000
##8A97481.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9748;
/* rgb */ color: rgb(138, 151, 72);
/* oklch */ color: oklch(64.8% 0.105 117.2);
Tailwind
colors: {
  custom: {
    50: '#aeb57d',
    500: '#8a9748',
    950: '#000000',
  },
}
SCSS
$custom: #8a9748;
$custom-light: #aeb57d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9748",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 72
  },
  "hsl": {
    "h": 69.873,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.10517,
    "h": 117.2
  },
  "luminance": 0.28004
}

Semantic roles & 50–950 ramp

primary
#8A9748
secondary
#8D85B6
accent
#5CCB6F
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9748

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

Preview Lab → · Contrast checker → · Palette generator →

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