#325C12#325C12

#325C12 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.112 H 134.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#325C12
RGBrgb(50, 92, 18)
HSLhsl(94, 67%, 22%)
HSVhsv(94, 80%, 36%)
CMYKcmyk(45.7%, 0%, 80.4%, 63.9%)
CIE-LABlab(34.75, -28.33, 35.52)
CIE-LCHlch(34.75, 45.43, 128.57°)
OKLaboklab(42.81% -0.0792 0.0794)
OKLCHoklch(42.81% 0.112 134.9)
XYZxyz(5.2516, 8.3758, 1.9121)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325C12 #3C125C
analogous
#575C12 #325C12 #125C17
triadic
#325C12 #12325C #5C1232
tetradic
#325C12 #12575C #3C125C #5C1712
square
#325C12 #12575C #3C125C #5C1712
split-complementary
#325C12 #17125C #5C1257
monochromatic
#0E1A05 #162908 #325C12 #4E8F1C #6AC226

Accessibility & contrast

On white

7.85
#325C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#325C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325C12
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325C12#FFFFFF#000000##FFFFFF
##325C121.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#31584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #325c12;
/* rgb */ color: rgb(50, 92, 18);
/* oklch */ color: oklch(42.8% 0.112 134.9);
Tailwind
colors: {
  custom: {
    50: '#6e8a56',
    500: '#325c12',
    950: '#000000',
  },
}
SCSS
$custom: #325c12;
$custom-light: #6e8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#325c12",
  "rgb": {
    "r": 50,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 94.054,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.11219,
    "h": 134.9
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#325C12
secondary
#6B3594
accent
#3EEAA0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #325C12

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

Preview Lab → · Contrast checker → · Palette generator →

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