#338939#338939

#338939 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.143 H 144.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#338939
RGBrgb(51, 137, 57)
HSLhsl(124, 46%, 37%)
HSVhsv(124, 63%, 54%)
CMYKcmyk(62.8%, 0%, 58.4%, 46.3%)
CIE-LABlab(50.56, -42.86, 34.89)
CIE-LCHlch(50.56, 55.27, 140.86°)
OKLaboklab(55.94% -0.1162 0.0828)
OKLCHoklch(55.94% 0.143 144.5)
XYZxyz(11.0488, 18.8895, 6.9339)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338939 #893383
analogous
#588933 #338939 #338964
triadic
#338939 #393389 #893933
tetradic
#338939 #335889 #893383 #896433
square
#338939 #335889 #893383 #896433
split-complementary
#338939 #643389 #893358
monochromatic
#123014 #225C26 #338939 #44B64C #6EC974

Accessibility & contrast

On white

4.39
#338939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#338939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338939
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338939#FFFFFF#000000##000000
##3389391.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D31
Deuteranopia (green-blind)
#81753F
Tritanopia (blue-blind)
#218577
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338939;
/* rgb */ color: rgb(51, 137, 57);
/* oklch */ color: oklch(55.9% 0.143 144.5);
Tailwind
colors: {
  custom: {
    50: '#75ac72',
    500: '#338939',
    950: '#000000',
  },
}
SCSS
$custom: #338939;
$custom-light: #75ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#338939",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 57
  },
  "hsl": {
    "h": 124.186,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.14265,
    "h": 144.5
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#338939
secondary
#B167AC
accent
#52CCD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338939

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

Preview Lab → · Contrast checker → · Palette generator →

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