#339821#339821

#339821 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.8% C 0.179 H 141.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#339821
RGBrgb(51, 152, 33)
HSLhsl(111, 64%, 36%)
HSVhsv(111, 78%, 60%)
CMYKcmyk(66.4%, 0%, 78.3%, 40.4%)
CIE-LABlab(55.35, -50.80, 50.21)
CIE-LCHlch(55.35, 71.43, 135.33°)
OKLaboklab(59.84% -0.1389 0.1124)
OKLCHoklch(59.84% 0.179 141)
XYZxyz(12.8673, 23.2688, 5.2518)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339821 #862198
analogous
#6F9821 #339821 #21984B
triadic
#339821 #213398 #982133
tetradic
#339821 #216F98 #862198 #984B21
square
#339821 #216F98 #862198 #984B21
split-complementary
#339821 #4B2198 #98216F
monochromatic
#11330B #226616 #339821 #44CA2C #6CDB59

Accessibility & contrast

On white

3.71
#339821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#339821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339821
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339821#FFFFFF#000000##000000
##3398211.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A03
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#209382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339821;
/* rgb */ color: rgb(51, 152, 33);
/* oklch */ color: oklch(59.8% 0.179 141.0);
Tailwind
colors: {
  custom: {
    50: '#79b766',
    500: '#339821',
    950: '#000000',
  },
}
SCSS
$custom: #339821;
$custom-light: #79b766;
$custom-dark: #000000;
JSON
{
  "hex": "#339821",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 110.924,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.17867,
    "h": 141
  },
  "luminance": 0.2327
}

Semantic roles & 50–950 ramp

primary
#339821
secondary
#AF56BF
accent
#40E7CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339821

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

Preview Lab → · Contrast checker → · Palette generator →

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