#325A18#325A18

#325A18 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.105 H 135.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#325A18
RGBrgb(50, 90, 24)
HSLhsl(96, 58%, 22%)
HSVhsv(96, 73%, 35%)
CMYKcmyk(44.4%, 0%, 73.3%, 64.7%)
CIE-LABlab(34.10, -26.91, 32.34)
CIE-LCHlch(34.10, 42.07, 129.77°)
OKLaboklab(42.29% -0.0749 0.0737)
OKLCHoklch(42.29% 0.105 135.5)
XYZxyz(5.1363, 8.0561, 2.1483)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325A18 #40185A
analogous
#535A18 #325A18 #185A1F
triadic
#325A18 #18325A #5A1832
tetradic
#325A18 #18535A #40185A #5A1F18
square
#325A18 #18535A #40185A #5A1F18
split-complementary
#325A18 #1F185A #5A1853
monochromatic
#0D1806 #172A0B #325A18 #4D8A25 #68BB32

Accessibility & contrast

On white

8.04
#325A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#325A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325A18
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325A18#FFFFFF#000000##FFFFFF
##325A181.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520E
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#31564D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #325a18;
/* rgb */ color: rgb(50, 90, 24);
/* oklch */ color: oklch(42.3% 0.105 135.5);
Tailwind
colors: {
  custom: {
    50: '#6e8959',
    500: '#325a18',
    950: '#000000',
  },
}
SCSS
$custom: #325a18;
$custom-light: #6e8959;
$custom-dark: #000000;
JSON
{
  "hex": "#325a18",
  "rgb": {
    "r": 50,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 96.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.1051,
    "h": 135.5
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#325A18
secondary
#703D91
accent
#47E1A4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #325A18

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

Preview Lab → · Contrast checker → · Palette generator →

#325A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva