#339921#339921

#339921 is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.1% C 0.180 H 141.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#339921
RGBrgb(51, 153, 33)
HSLhsl(111, 65%, 36%)
HSVhsv(111, 78%, 60%)
CMYKcmyk(66.7%, 0%, 78.4%, 40%)
CIE-LABlab(55.68, -51.15, 50.53)
CIE-LCHlch(55.68, 71.90, 135.35°)
OKLaboklab(60.11% -0.1398 0.1131)
OKLCHoklch(60.11% 0.18 141)
XYZxyz(13.0303, 23.5948, 5.3061)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339921 #872199
analogous
#6F9921 #339921 #21994B
triadic
#339921 #213399 #992133
tetradic
#339921 #216F99 #872199 #994B21
square
#339921 #216F99 #872199 #994B21
split-complementary
#339921 #4B2199 #99216F
monochromatic
#11340B #226716 #339921 #44CB2C #6DDB59

Accessibility & contrast

On white

3.67
#339921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#339921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339921
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339921#FFFFFF#000000##000000
##3399211.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A02
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#209482
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339921;
/* rgb */ color: rgb(51, 153, 33);
/* oklch */ color: oklch(60.1% 0.180 141.0);
Tailwind
colors: {
  custom: {
    50: '#79b866',
    500: '#339921',
    950: '#000000',
  },
}
SCSS
$custom: #339921;
$custom-light: #79b866;
$custom-dark: #000000;
JSON
{
  "hex": "#339921",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 111,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.17983,
    "h": 141
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

primary
#339921
secondary
#B056BF
accent
#40E8CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339921

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

Preview Lab → · Contrast checker → · Palette generator →

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