#338941#338941

#338941 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.135 H 146.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#338941
RGBrgb(51, 137, 65)
HSLhsl(130, 46%, 37%)
HSVhsv(130, 63%, 54%)
CMYKcmyk(62.8%, 0%, 52.6%, 46.3%)
CIE-LABlab(50.66, -41.72, 30.92)
CIE-LCHlch(50.66, 51.93, 143.46°)
OKLaboklab(56.06% -0.1128 0.0746)
OKLCHoklch(56.06% 0.135 146.5)
XYZxyz(11.2643, 18.9757, 8.0691)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338941 #89337B
analogous
#508933 #338941 #33896C
triadic
#338941 #413389 #894133
tetradic
#338941 #335089 #89337B #896C33
square
#338941 #335089 #89337B #896C33
split-complementary
#338941 #6C3389 #893350
monochromatic
#123017 #225C2C #338941 #44B656 #6EC97C

Accessibility & contrast

On white

4.38
#338941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#338941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338941
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338941#FFFFFF#000000##000000
##3389411.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3B
Deuteranopia (green-blind)
#807646
Tritanopia (blue-blind)
#1E8678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338941;
/* rgb */ color: rgb(51, 137, 65);
/* oklch */ color: oklch(56.1% 0.135 146.5);
Tailwind
colors: {
  custom: {
    50: '#74ac77',
    500: '#338941',
    950: '#000000',
  },
}
SCSS
$custom: #338941;
$custom-light: #74ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#338941",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 129.767,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.13526,
    "h": 146.5
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#338941
secondary
#B167A5
accent
#52C0D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338941

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

Preview Lab → · Contrast checker → · Palette generator →

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