#339F18#339F18

#339F18 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.191 H 140.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#339F18
RGBrgb(51, 159, 24)
HSLhsl(108, 74%, 36%)
HSVhsv(108, 85%, 62%)
CMYKcmyk(67.9%, 0%, 84.9%, 37.6%)
CIE-LABlab(57.62, -53.73, 55.01)
CIE-LCHlch(57.62, 76.90, 134.33°)
OKLaboklab(61.71% -0.1472 0.1212)
OKLCHoklch(61.71% 0.191 140.5)
XYZxyz(13.9275, 25.5646, 5.0645)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F18 #84189F
analogous
#769F18 #339F18 #189F40
triadic
#339F18 #18339F #9F1833
tetradic
#339F18 #18769F #84189F #9F4018
square
#339F18 #18769F #84189F #9F4018
split-complementary
#339F18 #40189F #9F1876
monochromatic
#113508 #226A10 #339F18 #44D420 #6BE44D

Accessibility & contrast

On white

3.44
#339F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#339F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F18
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F18#FFFFFF#000000##000000
##339F181.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#1E9A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339f18;
/* rgb */ color: rgb(51, 159, 24);
/* oklch */ color: oklch(61.7% 0.191 140.5);
Tailwind
colors: {
  custom: {
    50: '#7bbc63',
    500: '#339f18',
    950: '#000000',
  },
}
SCSS
$custom: #339f18;
$custom-light: #7bbc63;
$custom-dark: #000000;
JSON
{
  "hex": "#339f18",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 108,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.19066,
    "h": 140.5
  },
  "luminance": 0.25566
}

Semantic roles & 50–950 ramp

primary
#339F18
secondary
#AE4DC6
accent
#37F0CB
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #339F18

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

Preview Lab → · Contrast checker → · Palette generator →

#339F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva