#325A17#325A17

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

Color values

HEX#325A17
RGBrgb(50, 90, 23)
HSLhsl(96, 59%, 22%)
HSVhsv(96, 74%, 35%)
CMYKcmyk(44.4%, 0%, 74.4%, 64.7%)
CIE-LABlab(34.09, -27.00, 32.78)
CIE-LCHlch(34.09, 42.46, 129.48°)
OKLaboklab(42.28% -0.0752 0.0745)
OKLCHoklch(42.28% 0.106 135.3)
XYZxyz(5.1261, 8.0520, 2.0945)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325A17 #3F175A
analogous
#545A17 #325A17 #175A1E
triadic
#325A17 #17325A #5A1732
tetradic
#325A17 #17545A #3F175A #5A1E17
square
#325A17 #17545A #3F175A #5A1E17
split-complementary
#325A17 #1E175A #5A1754
monochromatic
#0E1806 #17290B #325A17 #4D8B23 #68BB30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##325A17#FFFFFF#000000##FFFFFF
##325A171.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)
#5E520D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#31564D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #325a17;
/* rgb */ color: rgb(50, 90, 23);
/* oklch */ color: oklch(42.3% 0.106 135.3);
Tailwind
colors: {
  custom: {
    50: '#6e8958',
    500: '#325a17',
    950: '#000000',
  },
}
SCSS
$custom: #325a17;
$custom-light: #6e8958;
$custom-dark: #000000;
JSON
{
  "hex": "#325a17",
  "rgb": {
    "r": 50,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 95.821,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.10588,
    "h": 135.3
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#325A17
secondary
#6F3C91
accent
#45E2A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #325A17

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

Preview Lab → · Contrast checker → · Palette generator →

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