#339229#339229

#339229 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.167 H 141.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#339229
RGBrgb(51, 146, 41)
HSLhsl(114, 56%, 37%)
HSVhsv(114, 72%, 57%)
CMYKcmyk(65.1%, 0%, 71.9%, 42.7%)
CIE-LABlab(53.41, -48.03, 45.30)
CIE-LCHlch(53.41, 66.02, 136.67°)
OKLaboklab(58.25% -0.131 0.1032)
OKLCHoklch(58.25% 0.167 141.8)
XYZxyz(12.0437, 21.4205, 5.5973)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339229 #882992
analogous
#689229 #339229 #299254
triadic
#339229 #293392 #922933
tetradic
#339229 #296892 #882992 #925429
square
#339229 #296892 #882992 #925429
split-complementary
#339229 #542992 #922968
monochromatic
#12320E #22621C #339229 #44C236 #6DD362

Accessibility & contrast

On white

3.97
#339229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#339229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339229
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339229#FFFFFF#000000##000000
##3392291.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968418
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#218D7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #339229;
/* rgb */ color: rgb(51, 146, 41);
/* oklch */ color: oklch(58.2% 0.167 141.8);
Tailwind
colors: {
  custom: {
    50: '#77b369',
    500: '#339229',
    950: '#000000',
  },
}
SCSS
$custom: #339229;
$custom-light: #77b369;
$custom-dark: #000000;
JSON
{
  "hex": "#339229",
  "rgb": {
    "r": 51,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 114.286,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.16678,
    "h": 141.8
  },
  "luminance": 0.21422
}

Semantic roles & 50–950 ramp

primary
#339229
secondary
#B05EB9
accent
#48DFD1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339229

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

Preview Lab → · Contrast checker → · Palette generator →

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