#338819#338819

#338819 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.164 H 139.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#338819
RGBrgb(51, 136, 25)
HSLhsl(106, 69%, 32%)
HSVhsv(106, 82%, 53%)
CMYKcmyk(62.5%, 0%, 81.6%, 46.7%)
CIE-LABlab(49.96, -45.57, 47.66)
CIE-LCHlch(49.96, 65.94, 133.71°)
OKLaboklab(55.36% -0.1252 0.1059)
OKLCHoklch(55.36% 0.164 139.8)
XYZxyz(10.3444, 18.3814, 3.9223)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338819 #6E1988
analogous
#6B8819 #338819 #198837
triadic
#338819 #193388 #881933
tetradic
#338819 #196B88 #6E1988 #883719
square
#338819 #196B88 #6E1988 #883719
split-complementary
#338819 #371988 #88196B
monochromatic
#0C2106 #20540F #338819 #46BC23 #64DC40

Accessibility & contrast

On white

4.49
#338819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#338819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338819
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338819#FFFFFF#000000##000000
##3388191.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#288374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338819;
/* rgb */ color: rgb(51, 136, 25);
/* oklch */ color: oklch(55.4% 0.164 139.8);
Tailwind
colors: {
  custom: {
    50: '#76ab60',
    500: '#338819',
    950: '#000000',
  },
}
SCSS
$custom: #338819;
$custom-light: #76ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#338819",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 105.946,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.16402,
    "h": 139.8
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#338819
secondary
#9F41BB
accent
#3CECC3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #338819

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

Preview Lab → · Contrast checker → · Palette generator →

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