#338E13#338E13

#338E13 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.174 H 139.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#338E13
RGBrgb(51, 142, 19)
HSLhsl(104, 76%, 32%)
HSVhsv(104, 87%, 56%)
CMYKcmyk(64.1%, 0%, 86.6%, 44.3%)
CIE-LABlab(51.95, -48.06, 51.18)
CIE-LCHlch(51.95, 70.21, 133.20°)
OKLaboklab(57% -0.1322 0.1124)
OKLCHoklch(57% 0.174 139.6)
XYZxyz(11.1553, 20.0958, 3.9070)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E13 #6E138E
analogous
#718E13 #338E13 #138E30
triadic
#338E13 #13338E #8E1333
tetradic
#338E13 #13718E #6E138E #8E3013
square
#338E13 #13718E #6E138E #8E3013
split-complementary
#338E13 #30138E #8E1371
monochromatic
#0C2205 #20580C #338E13 #46C41A #64E437

Accessibility & contrast

On white

4.18
#338E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#338E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E13
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E13#FFFFFF#000000##000000
##338E131.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#268978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338e13;
/* rgb */ color: rgb(51, 142, 19);
/* oklch */ color: oklch(57.0% 0.174 139.6);
Tailwind
colors: {
  custom: {
    50: '#78b05f',
    500: '#338e13',
    950: '#000000',
  },
}
SCSS
$custom: #338e13;
$custom-light: #78b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#338e13",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 104.39,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.17355,
    "h": 139.6
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#338E13
secondary
#9F3BC2
accent
#35F3C1
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #338E13

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

Preview Lab → · Contrast checker → · Palette generator →

#338E13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva