#338220#338220

#338220 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.153 H 140.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#338220
RGBrgb(51, 130, 32)
HSLhsl(108, 60%, 32%)
HSVhsv(108, 75%, 51%)
CMYKcmyk(60.8%, 0%, 75.4%, 49%)
CIE-LABlab(47.97, -42.82, 43.28)
CIE-LCHlch(47.97, 60.88, 134.70°)
OKLaboklab(53.73% -0.1174 0.0978)
OKLCHoklch(53.73% 0.153 140.2)
XYZxyz(9.6081, 16.7725, 4.0973)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338220 #6F2082
analogous
#648220 #338220 #20823E
triadic
#338220 #203382 #822033
tetradic
#338220 #206482 #6F2082 #823E20
square
#338220 #206482 #6F2082 #823E20
split-complementary
#338220 #3E2082 #822064
monochromatic
#0C2008 #205114 #338220 #46B32C #64D24A

Accessibility & contrast

On white

4.82
#338220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#338220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338220
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338220#FFFFFF#000000##FFFFFF
##3382201.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#297E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338220;
/* rgb */ color: rgb(51, 130, 32);
/* oklch */ color: oklch(53.7% 0.153 140.2);
Tailwind
colors: {
  custom: {
    50: '#75a762',
    500: '#338220',
    950: '#000000',
  },
}
SCSS
$custom: #338220;
$custom-light: #75a762;
$custom-dark: #000000;
JSON
{
  "hex": "#338220",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 108.367,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.15282,
    "h": 140.2
  },
  "luminance": 0.16773
}

Semantic roles & 50–950 ramp

primary
#338220
secondary
#A049B5
accent
#44E4C5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #338220

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

Preview Lab → · Contrast checker → · Palette generator →

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