#338914#338914

#338914 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.167 H 139.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#338914
RGBrgb(51, 137, 20)
HSLhsl(104, 75%, 31%)
HSVhsv(104, 85%, 54%)
CMYKcmyk(62.8%, 0%, 85.4%, 46.3%)
CIE-LABlab(50.27, -46.21, 49.42)
CIE-LCHlch(50.27, 67.66, 133.08°)
OKLaboklab(55.61% -0.1272 0.1088)
OKLCHoklch(55.61% 0.167 139.4)
XYZxyz(10.4367, 18.6447, 3.7105)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338914 #6A1489
analogous
#6D8914 #338914 #148930
triadic
#338914 #143389 #891433
tetradic
#338914 #146D89 #6A1489 #893014
square
#338914 #146D89 #6A1489 #893014
split-complementary
#338914 #301489 #89146D
monochromatic
#0B1E04 #1F540C #338914 #47BE1C #63E236

Accessibility & contrast

On white

4.44
#338914 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#338914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338914
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338914#FFFFFF#000000##000000
##3389141.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#288474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338914;
/* rgb */ color: rgb(51, 137, 20);
/* oklch */ color: oklch(55.6% 0.167 139.4);
Tailwind
colors: {
  custom: {
    50: '#77ac5e',
    500: '#338914',
    950: '#000000',
  },
}
SCSS
$custom: #338914;
$custom-light: #77ac5e;
$custom-dark: #000000;
JSON
{
  "hex": "#338914",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 104.103,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5561,
    "c": 0.16742,
    "h": 139.4
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#338914
secondary
#9B3CBD
accent
#37F1C0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #338914

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

Preview Lab → · Contrast checker → · Palette generator →

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