#339018#339018

#339018 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.6% C 0.174 H 140.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#339018
RGBrgb(51, 144, 24)
HSLhsl(107, 71%, 33%)
HSVhsv(107, 83%, 56%)
CMYKcmyk(64.6%, 0%, 83.3%, 43.5%)
CIE-LABlab(52.64, -48.53, 50.46)
CIE-LCHlch(52.64, 70.01, 133.88°)
OKLaboklab(57.58% -0.1332 0.1116)
OKLCHoklch(57.58% 0.174 140)
XYZxyz(11.5028, 20.7152, 4.2562)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339018 #751890
analogous
#6F9018 #339018 #189039
triadic
#339018 #183390 #901833
tetradic
#339018 #186F90 #751890 #903918
square
#339018 #186F90 #751890 #903918
split-complementary
#339018 #391890 #90186F
monochromatic
#0E2707 #205C0F #339018 #46C421 #66E043

Accessibility & contrast

On white

4.08
#339018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#339018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339018
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339018#FFFFFF#000000##000000
##3390181.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#258B7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #339018;
/* rgb */ color: rgb(51, 144, 24);
/* oklch */ color: oklch(57.6% 0.174 140.0);
Tailwind
colors: {
  custom: {
    50: '#78b161',
    500: '#339018',
    950: '#000000',
  },
}
SCSS
$custom: #339018;
$custom-light: #78b161;
$custom-dark: #000000;
JSON
{
  "hex": "#339018",
  "rgb": {
    "r": 51,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 106.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.17382,
    "h": 140
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#339018
secondary
#A443C0
accent
#3AEEC6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #339018

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

Preview Lab → · Contrast checker → · Palette generator →

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