#339730#339730

#339730 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.168 H 142.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#339730
RGBrgb(51, 151, 48)
HSLhsl(118, 52%, 39%)
HSVhsv(118, 68%, 59%)
CMYKcmyk(66.2%, 0%, 68.2%, 40.8%)
CIE-LABlab(55.12, -49.18, 44.21)
CIE-LCHlch(55.12, 66.14, 138.04°)
OKLaboklab(59.68% -0.1337 0.1018)
OKLCHoklch(59.68% 0.168 142.7)
XYZxyz(12.9646, 23.0491, 6.5614)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339730 #943097
analogous
#679730 #339730 #309761
triadic
#339730 #303397 #973033
tetradic
#339730 #306797 #943097 #976130
square
#339730 #306797 #943097 #976130
split-complementary
#339730 #613097 #973067
monochromatic
#143A12 #236921 #339730 #45C341 #73D270

Accessibility & contrast

On white

3.74
#339730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#339730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339730
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339730#FFFFFF#000000##000000
##3397301.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#8E8139
Tritanopia (blue-blind)
#1D9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #339730;
/* rgb */ color: rgb(51, 151, 48);
/* oklch */ color: oklch(59.7% 0.168 142.7);
Tailwind
colors: {
  custom: {
    50: '#78b76d',
    500: '#339730',
    950: '#000000',
  },
}
SCSS
$custom: #339730;
$custom-light: #78b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#339730",
  "rgb": {
    "r": 51,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 118.252,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.16808,
    "h": 142.7
  },
  "luminance": 0.2305
}

Semantic roles & 50–950 ramp

primary
#339730
secondary
#B76AB9
accent
#4DDBD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339730

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

Preview Lab → · Contrast checker → · Palette generator →

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