#338B32#338B32

#338B32 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.151 H 143.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#338B32
RGBrgb(51, 139, 50)
HSLhsl(119, 47%, 37%)
HSVhsv(119, 64%, 55%)
CMYKcmyk(63.3%, 0%, 64%, 45.5%)
CIE-LABlab(51.15, -44.51, 38.95)
CIE-LCHlch(51.15, 59.14, 138.81°)
OKLaboklab(56.41% -0.1209 0.0909)
OKLCHoklch(56.41% 0.151 143.1)
XYZxyz(11.1730, 19.3983, 6.1724)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B32 #8A328B
analogous
#608B32 #338B32 #328B5E
triadic
#338B32 #32338B #8B3233
tetradic
#338B32 #32608B #8A328B #8B5E32
square
#338B32 #32608B #8A328B #8B5E32
split-complementary
#338B32 #5E328B #8B3260
monochromatic
#123112 #225E22 #338B32 #44B842 #6ECA6D

Accessibility & contrast

On white

4.30
#338B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#338B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B32
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B32#FFFFFF#000000##000000
##338B321.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E28
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#228778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338b32;
/* rgb */ color: rgb(51, 139, 50);
/* oklch */ color: oklch(56.4% 0.151 143.1);
Tailwind
colors: {
  custom: {
    50: '#75ae6e',
    500: '#338b32',
    950: '#000000',
  },
}
SCSS
$custom: #338b32;
$custom-light: #75ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#338b32",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 119.326,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.15129,
    "h": 143.1
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#338B32
secondary
#B167B2
accent
#51D7D5
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338B32

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

Preview Lab → · Contrast checker → · Palette generator →

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