#339530#339530

#339530 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.166 H 142.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#339530
RGBrgb(51, 149, 48)
HSLhsl(118, 51%, 39%)
HSVhsv(118, 68%, 58%)
CMYKcmyk(65.8%, 0%, 67.8%, 41.6%)
CIE-LABlab(54.46, -48.46, 43.50)
CIE-LCHlch(54.46, 65.12, 138.09°)
OKLaboklab(59.14% -0.1317 0.1003)
OKLCHoklch(59.14% 0.166 142.7)
XYZxyz(12.6455, 22.4108, 6.4550)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339530 #923095
analogous
#659530 #339530 #30955F
triadic
#339530 #303395 #953033
tetradic
#339530 #306595 #923095 #955F30
square
#339530 #306595 #923095 #955F30
split-complementary
#339530 #5F3095 #953065
monochromatic
#133812 #236721 #339530 #44C241 #72D16F

Accessibility & contrast

On white

3.83
#339530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#339530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339530
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339530#FFFFFF#000000##000000
##3395301.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988723
Deuteranopia (green-blind)
#8C7F39
Tritanopia (blue-blind)
#1E9180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #339530;
/* rgb */ color: rgb(51, 149, 48);
/* oklch */ color: oklch(59.1% 0.166 142.7);
Tailwind
colors: {
  custom: {
    50: '#78b56d',
    500: '#339530',
    950: '#000000',
  },
}
SCSS
$custom: #339530;
$custom-light: #78b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#339530",
  "rgb": {
    "r": 51,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 118.218,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.1656,
    "h": 142.7
  },
  "luminance": 0.22412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339530

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

Preview Lab → · Contrast checker → · Palette generator →

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