#338121#338121

#338121 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.151 H 140.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#338121
RGBrgb(51, 129, 33)
HSLhsl(109, 59%, 32%)
HSVhsv(109, 74%, 51%)
CMYKcmyk(60.5%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.64, -42.36, 42.55)
CIE-LCHlch(47.64, 60.04, 134.87°)
OKLaboklab(53.46% -0.1161 0.0964)
OKLCHoklch(53.46% 0.151 140.3)
XYZxyz(9.4896, 16.5133, 4.1259)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338121 #6F2181
analogous
#638121 #338121 #21813F
triadic
#338121 #213381 #812133
tetradic
#338121 #216381 #6F2181 #813F21
square
#338121 #216381 #6F2181 #813F21
split-complementary
#338121 #3F2181 #812163
monochromatic
#0C2008 #205015 #338121 #46B22D #64D14B

Accessibility & contrast

On white

4.88
#338121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#338121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338121
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338121#FFFFFF#000000##FFFFFF
##3381211.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#297D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338121;
/* rgb */ color: rgb(51, 129, 33);
/* oklch */ color: oklch(53.5% 0.151 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a663',
    500: '#338121',
    950: '#000000',
  },
}
SCSS
$custom: #338121;
$custom-light: #74a663;
$custom-dark: #000000;
JSON
{
  "hex": "#338121",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 108.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5346,
    "c": 0.15092,
    "h": 140.3
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

primary
#338121
secondary
#A04AB4
accent
#45E2C5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #338121

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

Preview Lab → · Contrast checker → · Palette generator →

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