#338927#338927

#338927 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.157 H 141.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338927
RGBrgb(51, 137, 39)
HSLhsl(113, 56%, 35%)
HSVhsv(113, 72%, 54%)
CMYKcmyk(62.8%, 0%, 71.5%, 46.3%)
CIE-LABlab(50.38, -44.88, 42.96)
CIE-LCHlch(50.38, 62.13, 136.25°)
OKLaboklab(55.74% -0.1226 0.0981)
OKLCHoklch(55.74% 0.157 141.3)
XYZxyz(10.6766, 18.7406, 4.9737)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338927 #7D2789
analogous
#648927 #338927 #27894C
triadic
#338927 #273389 #892733
tetradic
#338927 #276489 #7D2789 #894C27
square
#338927 #276489 #7D2789 #894C27
split-complementary
#338927 #4C2789 #892764
monochromatic
#102A0C #215919 #338927 #45B935 #69D05A

Accessibility & contrast

On white

4.42
#338927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#338927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338927
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338927#FFFFFF#000000##000000
##3389271.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C18
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#258575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338927;
/* rgb */ color: rgb(51, 137, 39);
/* oklch */ color: oklch(55.7% 0.157 141.3);
Tailwind
colors: {
  custom: {
    50: '#76ac67',
    500: '#338927',
    950: '#000000',
  },
}
SCSS
$custom: #338927;
$custom-light: #76ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#338927",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 112.653,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5574,
    "c": 0.15698,
    "h": 141.3
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#338927
secondary
#AA57B5
accent
#49DFCD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338927

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

Preview Lab → · Contrast checker → · Palette generator →

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