#326012#326012

#326012 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.0% C 0.118 H 135.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#326012
RGBrgb(50, 96, 18)
HSLhsl(95, 68%, 22%)
HSVhsv(95, 81%, 38%)
CMYKcmyk(47.9%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.15, -30.15, 36.88)
CIE-LCHlch(36.15, 47.63, 129.27°)
OKLaboklab(43.95% -0.0841 0.0823)
OKLCHoklch(43.95% 0.118 135.6)
XYZxyz(5.6073, 9.0872, 2.0307)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#326012 #401260
analogous
#596012 #326012 #126019
triadic
#326012 #123260 #601232
tetradic
#326012 #125960 #401260 #601912
square
#326012 #125960 #401260 #601912
split-complementary
#326012 #191260 #601259
monochromatic
#0D1A05 #172C08 #326012 #4D941C #68C725

Accessibility & contrast

On white

7.45
#326012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#326012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #326012
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##326012#FFFFFF#000000##FFFFFF
##3260121.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645702
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#305C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #326012;
/* rgb */ color: rgb(50, 96, 18);
/* oklch */ color: oklch(44.0% 0.118 135.6);
Tailwind
colors: {
  custom: {
    50: '#6f8d57',
    500: '#326012',
    950: '#000000',
  },
}
SCSS
$custom: #326012;
$custom-light: #6f8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#326012",
  "rgb": {
    "r": 50,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 95.385,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43953,
    "c": 0.11768,
    "h": 135.6
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#326012
secondary
#703698
accent
#3DEBA4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #326012

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

Preview Lab → · Contrast checker → · Palette generator →

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