#325A12#325A12

#325A12 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.2% C 0.109 H 134.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#325A12
RGBrgb(50, 90, 18)
HSLhsl(93, 67%, 21%)
HSVhsv(93, 80%, 35%)
CMYKcmyk(44.4%, 0%, 80%, 64.7%)
CIE-LABlab(34.05, -27.40, 34.84)
CIE-LCHlch(34.05, 44.32, 128.19°)
OKLaboklab(42.23% -0.0767 0.078)
OKLCHoklch(42.23% 0.109 134.5)
XYZxyz(5.0806, 8.0338, 1.8551)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325A12 #3A125A
analogous
#565A12 #325A12 #125A16
triadic
#325A12 #12325A #5A1232
tetradic
#325A12 #12565A #3A125A #5A1612
square
#325A12 #12565A #3A125A #5A1612
split-complementary
#325A12 #16125A #5A1256
monochromatic
#0E1A05 #162708 #325A12 #4E8D1C #6BC026

Accessibility & contrast

On white

8.06
#325A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #325A12
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325A12#FFFFFF#000000##FFFFFF
##325A121.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5204
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#31564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #325a12;
/* rgb */ color: rgb(50, 90, 18);
/* oklch */ color: oklch(42.2% 0.109 134.5);
Tailwind
colors: {
  custom: {
    50: '#6e8956',
    500: '#325a12',
    950: '#000000',
  },
}
SCSS
$custom: #325a12;
$custom-light: #6e8956;
$custom-dark: #000000;
JSON
{
  "hex": "#325a12",
  "rgb": {
    "r": 50,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 93.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42232,
    "c": 0.10941,
    "h": 134.5
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#325A12
secondary
#693593
accent
#3EEA9D
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #325A12

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

Preview Lab → · Contrast checker → · Palette generator →

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