#338922#338922

#338922 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.160 H 140.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338922
RGBrgb(51, 137, 34)
HSLhsl(110, 60%, 34%)
HSVhsv(110, 75%, 54%)
CMYKcmyk(62.8%, 0%, 75.2%, 46.3%)
CIE-LABlab(50.35, -45.31, 44.91)
CIE-LCHlch(50.35, 63.79, 135.26°)
OKLaboklab(55.7% -0.124 0.1015)
OKLCHoklch(55.7% 0.16 140.7)
XYZxyz(10.5991, 18.7096, 4.5658)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338922 #782289
analogous
#668922 #338922 #228944
triadic
#338922 #223389 #892233
tetradic
#338922 #226689 #782289 #894422
square
#338922 #226689 #782289 #894422
split-complementary
#338922 #442289 #892266
monochromatic
#0E270A #215816 #338922 #45BA2E #67D451

Accessibility & contrast

On white

4.43
#338922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#338922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338922
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338922#FFFFFF#000000##000000
##3389221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#268475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338922;
/* rgb */ color: rgb(51, 137, 34);
/* oklch */ color: oklch(55.7% 0.160 140.7);
Tailwind
colors: {
  custom: {
    50: '#76ac64',
    500: '#338922',
    950: '#000000',
  },
}
SCSS
$custom: #338922;
$custom-light: #76ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#338922",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 110.097,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.16024,
    "h": 140.7
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#338922
secondary
#A64FB8
accent
#44E3C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338922

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

Preview Lab → · Contrast checker → · Palette generator →

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