#339830#339830

#339830 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.169 H 142.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#339830
RGBrgb(51, 152, 48)
HSLhsl(118, 52%, 39%)
HSVhsv(118, 68%, 60%)
CMYKcmyk(66.4%, 0%, 68.4%, 40.4%)
CIE-LABlab(55.45, -49.54, 44.57)
CIE-LCHlch(55.45, 66.64, 138.02°)
OKLaboklab(59.96% -0.1347 0.1026)
OKLCHoklch(59.96% 0.169 142.7)
XYZxyz(13.1262, 23.3723, 6.6153)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339830 #953098
analogous
#679830 #339830 #309861
triadic
#339830 #303398 #983033
tetradic
#339830 #306798 #953098 #986130
square
#339830 #306798 #953098 #986130
split-complementary
#339830 #613098 #983067
monochromatic
#143B13 #236921 #339830 #46C342 #73D270

Accessibility & contrast

On white

3.70
#339830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#339830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339830
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339830#FFFFFF#000000##000000
##3398301.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A22
Deuteranopia (green-blind)
#8F823A
Tritanopia (blue-blind)
#1D9483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339830;
/* rgb */ color: rgb(51, 152, 48);
/* oklch */ color: oklch(60.0% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#78b76e',
    500: '#339830',
    950: '#000000',
  },
}
SCSS
$custom: #339830;
$custom-light: #78b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#339830",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 48
  },
  "hsl": {
    "h": 118.269,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.16932,
    "h": 142.7
  },
  "luminance": 0.23374
}

Semantic roles & 50–950 ramp

primary
#339830
secondary
#B76ABA
accent
#4CDBD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339830

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

Preview Lab → · Contrast checker → · Palette generator →

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