#338920#338920

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

Color values

HEX#338920
RGBrgb(51, 137, 32)
HSLhsl(109, 62%, 33%)
HSVhsv(109, 77%, 54%)
CMYKcmyk(62.8%, 0%, 76.6%, 46.3%)
CIE-LABlab(50.33, -45.46, 45.64)
CIE-LCHlch(50.33, 64.42, 134.89°)
OKLaboklab(55.68% -0.1246 0.1027)
OKLCHoklch(55.68% 0.161 140.5)
XYZxyz(10.5711, 18.6984, 4.4183)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338920 #762089
analogous
#678920 #338920 #208941
triadic
#338920 #203389 #892033
tetradic
#338920 #206789 #762089 #894120
square
#338920 #206789 #762089 #894120
split-complementary
#338920 #412089 #892067
monochromatic
#0E2609 #215714 #338920 #45BB2C #66D64E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338920#FFFFFF#000000##000000
##3389201.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)
#8D7C0A
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#268475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338920;
/* rgb */ color: rgb(51, 137, 32);
/* oklch */ color: oklch(55.7% 0.161 140.5);
Tailwind
colors: {
  custom: {
    50: '#76ac63',
    500: '#338920',
    950: '#000000',
  },
}
SCSS
$custom: #338920;
$custom-light: #76ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#338920",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 109.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55682,
    "c": 0.16145,
    "h": 140.5
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#338920
secondary
#A54CB9
accent
#43E5C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338920

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

Preview Lab → · Contrast checker → · Palette generator →

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