#338E11#338E11

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

Color values

HEX#338E11
RGBrgb(51, 142, 17)
HSLhsl(104, 79%, 31%)
HSVhsv(104, 88%, 56%)
CMYKcmyk(64.1%, 0%, 88%, 44.3%)
CIE-LABlab(51.94, -48.15, 51.66)
CIE-LCHlch(51.94, 70.62, 132.99°)
OKLaboklab(56.99% -0.1325 0.1132)
OKLCHoklch(56.99% 0.174 139.5)
XYZxyz(11.1389, 20.0892, 3.8208)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E11 #6C118E
analogous
#718E11 #338E11 #118E2D
triadic
#338E11 #11338E #8E1133
tetradic
#338E11 #11718E #6C118E #8E2D11
square
#338E11 #11718E #6C118E #8E2D11
split-complementary
#338E11 #2D118E #8E1171
monochromatic
#0C2104 #1F570A #338E11 #47C518 #64E733

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338E11#FFFFFF#000000##000000
##338E111.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)
#877923
Tritanopia (blue-blind)
#268978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338e11;
/* rgb */ color: rgb(51, 142, 17);
/* oklch */ color: oklch(57.0% 0.174 139.5);
Tailwind
colors: {
  custom: {
    50: '#78b05e',
    500: '#338e11',
    950: '#000000',
  },
}
SCSS
$custom: #338e11;
$custom-light: #78b05e;
$custom-dark: #000000;
JSON
{
  "hex": "#338e11",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 103.68,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.17427,
    "h": 139.5
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#338E11
secondary
#9D38C2
accent
#33F5C0
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #338E11

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

Preview Lab → · Contrast checker → · Palette generator →

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