#8A9348#8A9348

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

Color values

HEX#8A9348
RGBrgb(138, 147, 72)
HSLhsl(67, 34%, 43%)
HSVhsv(67, 51%, 58%)
CMYKcmyk(6.1%, 0%, 51%, 42.4%)
CIE-LABlab(58.73, -14.73, 38.23)
CIE-LCHlch(58.73, 40.97, 111.07°)
OKLaboklab(63.91% -0.0421 0.0906)
OKLCHoklch(63.91% 0.1 114.9)
XYZxyz(22.0850, 26.7389, 10.1273)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9348 #514893
analogous
#937648 #8A9348 #649348
triadic
#8A9348 #488A93 #93488A
tetradic
#8A9348 #489376 #514893 #934864
square
#8A9348 #489376 #514893 #934864
split-complementary
#8A9348 #486493 #764893
monochromatic
#3D4120 #636A34 #8A9348 #AAB365 #C1C88E

Accessibility & contrast

On white

3.31
#8A9348 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8A9348 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9348
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9348#FFFFFF#000000##000000
##8A93481.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8D41
Deuteranopia (green-blind)
#9B8E4C
Tritanopia (blue-blind)
#918C82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9348;
/* rgb */ color: rgb(138, 147, 72);
/* oklch */ color: oklch(63.9% 0.100 114.9);
Tailwind
colors: {
  custom: {
    50: '#aeb27d',
    500: '#8a9348',
    950: '#000000',
  },
}
SCSS
$custom: #8a9348;
$custom-light: #aeb27d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9348",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 72
  },
  "hsl": {
    "h": 67.2,
    "s": 34.247,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63912,
    "c": 0.09987,
    "h": 114.9
  },
  "luminance": 0.26739
}

Semantic roles & 50–950 ramp

primary
#8A9348
secondary
#8984B3
accent
#5DCA6B
background
#FAFAF7
surface
#F4F5EE
border
#CECFC9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9348

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

Preview Lab → · Contrast checker → · Palette generator →

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