#339930#339930

#339930 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.171 H 142.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#339930
RGBrgb(51, 153, 48)
HSLhsl(118, 52%, 39%)
HSVhsv(118, 69%, 60%)
CMYKcmyk(66.7%, 0%, 68.6%, 40%)
CIE-LABlab(55.78, -49.90, 44.93)
CIE-LCHlch(55.78, 67.15, 138.00°)
OKLaboklab(60.23% -0.1357 0.1033)
OKLCHoklch(60.23% 0.171 142.7)
XYZxyz(13.2892, 23.6983, 6.6696)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339930 #963099
analogous
#689930 #339930 #309962
triadic
#339930 #303399 #993033
tetradic
#339930 #306899 #963099 #996230
square
#339930 #306899 #963099 #996230
split-complementary
#339930 #623099 #993068
monochromatic
#143C13 #236A21 #339930 #46C442 #74D271

Accessibility & contrast

On white

3.66
#339930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#339930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339930
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339930#FFFFFF#000000##000000
##3399301.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B22
Deuteranopia (green-blind)
#90823A
Tritanopia (blue-blind)
#1C9484
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339930;
/* rgb */ color: rgb(51, 153, 48);
/* oklch */ color: oklch(60.2% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#78b86e',
    500: '#339930',
    950: '#000000',
  },
}
SCSS
$custom: #339930;
$custom-light: #78b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#339930",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 118.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.17055,
    "h": 142.7
  },
  "luminance": 0.237
}

Semantic roles & 50–950 ramp

primary
#339930
secondary
#B86BBA
accent
#4CDCD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339930

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

Preview Lab → · Contrast checker → · Palette generator →

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