#338E19#338E19

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

Color values

HEX#338E19
RGBrgb(51, 142, 25)
HSLhsl(107, 70%, 33%)
HSVhsv(107, 82%, 56%)
CMYKcmyk(64.1%, 0%, 82.4%, 44.3%)
CIE-LABlab(51.97, -47.75, 49.55)
CIE-LCHlch(51.97, 68.82, 133.94°)
OKLaboklab(57.03% -0.1311 0.1099)
OKLCHoklch(57.03% 0.171 140)
XYZxyz(11.2132, 20.1189, 4.2119)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E19 #74198E
analogous
#6D8E19 #338E19 #198E3A
triadic
#338E19 #19338E #8E1933
tetradic
#338E19 #196D8E #74198E #8E3A19
square
#338E19 #196D8E #74198E #8E3A19
split-complementary
#338E19 #3A198E #8E196D
monochromatic
#0E2607 #205A10 #338E19 #46C222 #66DE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338E19#FFFFFF#000000##000000
##338E191.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)
#877927
Tritanopia (blue-blind)
#268979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338e19;
/* rgb */ color: rgb(51, 142, 25);
/* oklch */ color: oklch(57.0% 0.171 140.0);
Tailwind
colors: {
  custom: {
    50: '#77b061',
    500: '#338e19',
    950: '#000000',
  },
}
SCSS
$custom: #338e19;
$custom-light: #77b061;
$custom-dark: #000000;
JSON
{
  "hex": "#338e19",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 106.667,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.17105,
    "h": 140
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#338E19
secondary
#A444BF
accent
#3BEDC5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #338E19

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

Preview Lab → · Contrast checker → · Palette generator →

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