#326812#326812

#326812 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.2% C 0.128 H 136.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#326812
RGBrgb(50, 104, 18)
HSLhsl(98, 70%, 24%)
HSVhsv(98, 83%, 41%)
CMYKcmyk(51.9%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.94, -33.65, 39.54)
CIE-LCHlch(38.94, 51.92, 130.40°)
OKLaboklab(46.24% -0.0935 0.0879)
OKLCHoklch(46.24% 0.128 136.8)
XYZxyz(6.3747, 10.6220, 2.2865)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#326812 #481268
analogous
#5D6812 #326812 #12681D
triadic
#326812 #123268 #681232
tetradic
#326812 #125D68 #481268 #681D12
square
#326812 #125D68 #481268 #681D12
split-complementary
#326812 #1D1268 #68125D
monochromatic
#0D1A05 #193409 #326812 #4B9C1B #64D024

Accessibility & contrast

On white

6.72
#326812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#326812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #326812
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##326812#FFFFFF#000000##FFFFFF
##3268121.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#2F6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #326812;
/* rgb */ color: rgb(50, 104, 18);
/* oklch */ color: oklch(46.2% 0.128 136.8);
Tailwind
colors: {
  custom: {
    50: '#709458',
    500: '#326812',
    950: '#000000',
  },
}
SCSS
$custom: #326812;
$custom-light: #709458;
$custom-dark: #000000;
JSON
{
  "hex": "#326812",
  "rgb": {
    "r": 50,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 97.674,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46242,
    "c": 0.12833,
    "h": 136.8
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#326812
secondary
#7836A0
accent
#3BEDAB
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #326812

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

Preview Lab → · Contrast checker → · Palette generator →

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