#338A41#338A41

#338A41 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.137 H 146.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#338A41
RGBrgb(51, 138, 65)
HSLhsl(130, 46%, 37%)
HSVhsv(130, 63%, 54%)
CMYKcmyk(63%, 0%, 52.9%, 45.9%)
CIE-LABlab(50.99, -42.12, 31.33)
CIE-LCHlch(50.99, 52.50, 143.36°)
OKLaboklab(56.33% -0.1139 0.0755)
OKLCHoklch(56.33% 0.137 146.5)
XYZxyz(11.4071, 19.2613, 8.1167)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A41 #8A337C
analogous
#518A33 #338A41 #338A6D
triadic
#338A41 #41338A #8A4133
tetradic
#338A41 #33518A #8A337C #8A6D33
square
#338A41 #33518A #8A337C #8A6D33
split-complementary
#338A41 #6D338A #8A3351
monochromatic
#123117 #225D2C #338A41 #44B756 #6EC97D

Accessibility & contrast

On white

4.33
#338A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#338A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A41
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A41#FFFFFF#000000##000000
##338A411.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3B
Deuteranopia (green-blind)
#817646
Tritanopia (blue-blind)
#1D8779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338a41;
/* rgb */ color: rgb(51, 138, 65);
/* oklch */ color: oklch(56.3% 0.137 146.5);
Tailwind
colors: {
  custom: {
    50: '#75ad77',
    500: '#338a41',
    950: '#000000',
  },
}
SCSS
$custom: #338a41;
$custom-light: #75ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#338a41",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 129.655,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.13667,
    "h": 146.5
  },
  "luminance": 0.19262
}

Semantic roles & 50–950 ramp

primary
#338A41
secondary
#B167A5
accent
#52C1D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338A41

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

Preview Lab → · Contrast checker → · Palette generator →

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