#325918#325918

#325918 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.104 H 135.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#325918
RGBrgb(50, 89, 24)
HSLhsl(96, 58%, 22%)
HSVhsv(96, 73%, 35%)
CMYKcmyk(43.8%, 0%, 73%, 65.1%)
CIE-LABlab(33.75, -26.44, 31.97)
CIE-LCHlch(33.75, 41.48, 129.59°)
OKLaboklab(42% -0.0736 0.073)
OKLCHoklch(42% 0.104 135.3)
XYZxyz(5.0525, 7.8885, 2.1204)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325918 #3F1859
analogous
#535918 #325918 #18591F
triadic
#325918 #183259 #591832
tetradic
#325918 #185359 #3F1859 #591F18
square
#325918 #185359 #3F1859 #591F18
split-complementary
#325918 #1F1859 #591853
monochromatic
#0E1806 #17290B #325918 #4D8925 #68B932

Accessibility & contrast

On white

8.15
#325918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#325918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325918
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325918#FFFFFF#000000##FFFFFF
##3259181.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#31554C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #325918;
/* rgb */ color: rgb(50, 89, 24);
/* oklch */ color: oklch(42.0% 0.104 135.3);
Tailwind
colors: {
  custom: {
    50: '#6e8859',
    500: '#325918',
    950: '#000000',
  },
}
SCSS
$custom: #325918;
$custom-light: #6e8859;
$custom-dark: #000000;
JSON
{
  "hex": "#325918",
  "rgb": {
    "r": 50,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 96,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41999,
    "c": 0.10364,
    "h": 135.3
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#325918
secondary
#6F3D90
accent
#47E1A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #325918

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

Preview Lab → · Contrast checker → · Palette generator →

#325918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva