#338D41#338D41

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

Color values

HEX#338D41
RGBrgb(51, 141, 65)
HSLhsl(129, 47%, 38%)
HSVhsv(129, 64%, 55%)
CMYKcmyk(63.8%, 0%, 53.9%, 44.7%)
CIE-LABlab(51.99, -43.32, 32.55)
CIE-LCHlch(51.99, 54.18, 143.08°)
OKLaboklab(57.15% -0.1171 0.0782)
OKLCHoklch(57.15% 0.141 146.3)
XYZxyz(11.8435, 20.1341, 8.2621)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D41 #8D337F
analogous
#528D33 #338D41 #338D6E
triadic
#338D41 #41338D #8D4133
tetradic
#338D41 #33528D #8D337F #8D6E33
square
#338D41 #33528D #8D337F #8D6E33
split-complementary
#338D41 #6E338D #8D3352
monochromatic
#123318 #23602C #338D41 #43BA56 #6FCB7E

Accessibility & contrast

On white

4.18
#338D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338D41#FFFFFF#000000##000000
##338D411.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813A
Deuteranopia (green-blind)
#847947
Tritanopia (blue-blind)
#1C8A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338d41;
/* rgb */ color: rgb(51, 141, 65);
/* oklch */ color: oklch(57.2% 0.141 146.3);
Tailwind
colors: {
  custom: {
    50: '#75af77',
    500: '#338d41',
    950: '#000000',
  },
}
SCSS
$custom: #338d41;
$custom-light: #75af77;
$custom-dark: #000000;
JSON
{
  "hex": "#338d41",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 129.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.14083,
    "h": 146.3
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#338D41
secondary
#B369A7
accent
#51C2D7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338D41

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

Preview Lab → · Contrast checker → · Palette generator →

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