#338D44#338D44

#338D44 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.138 H 147.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#338D44
RGBrgb(51, 141, 68)
HSLhsl(131, 47%, 38%)
HSVhsv(131, 64%, 55%)
CMYKcmyk(63.8%, 0%, 51.8%, 44.7%)
CIE-LABlab(52.03, -42.86, 31.04)
CIE-LCHlch(52.03, 52.92, 144.09°)
OKLaboklab(57.2% -0.1158 0.0751)
OKLCHoklch(57.2% 0.138 147.1)
XYZxyz(11.9327, 20.1697, 8.7320)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D44 #8D337C
analogous
#4F8D33 #338D44 #338D71
triadic
#338D44 #44338D #8D4433
tetradic
#338D44 #334F8D #8D337C #8D7133
square
#338D44 #334F8D #8D337C #8D7133
split-complementary
#338D44 #71338D #8D334F
monochromatic
#123319 #23602E #338D44 #43BA5A #6FCB81

Accessibility & contrast

On white

4.17
#338D44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#338D44 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D44
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D44#FFFFFF#000000##000000
##338D441.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813E
Deuteranopia (green-blind)
#837949
Tritanopia (blue-blind)
#1B8A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338d44;
/* rgb */ color: rgb(51, 141, 68);
/* oklch */ color: oklch(57.2% 0.138 147.1);
Tailwind
colors: {
  custom: {
    50: '#75af79',
    500: '#338d44',
    950: '#000000',
  },
}
SCSS
$custom: #338d44;
$custom-light: #75af79;
$custom-dark: #000000;
JSON
{
  "hex": "#338d44",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 68
  },
  "hsl": {
    "h": 131.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.13801,
    "h": 147.1
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#338D44
secondary
#B369A5
accent
#51BDD7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338D44

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

Preview Lab → · Contrast checker → · Palette generator →

#338D44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva