#338A44#338A44

#338A44 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.134 H 147.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#338A44
RGBrgb(51, 138, 68)
HSLhsl(132, 46%, 37%)
HSVhsv(132, 63%, 54%)
CMYKcmyk(63%, 0%, 50.7%, 45.9%)
CIE-LABlab(51.03, -41.66, 29.81)
CIE-LCHlch(51.03, 51.23, 144.42°)
OKLaboklab(56.38% -0.1126 0.0723)
OKLCHoklch(56.38% 0.134 147.3)
XYZxyz(11.4963, 19.2970, 8.5866)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A44 #8A3379
analogous
#4E8A33 #338A44 #338A70
triadic
#338A44 #44338A #8A4433
tetradic
#338A44 #334E8A #8A3379 #8A7033
square
#338A44 #334E8A #8A3379 #8A7033
split-complementary
#338A44 #70338A #8A334E
monochromatic
#123118 #225D2E #338A44 #44B75A #6EC980

Accessibility & contrast

On white

4.32
#338A44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#338A44 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A44
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A44#FFFFFF#000000##000000
##338A441.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3E
Deuteranopia (green-blind)
#817749
Tritanopia (blue-blind)
#1C877A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338a44;
/* rgb */ color: rgb(51, 138, 68);
/* oklch */ color: oklch(56.4% 0.134 147.3);
Tailwind
colors: {
  custom: {
    50: '#74ad79',
    500: '#338a44',
    950: '#000000',
  },
}
SCSS
$custom: #338a44;
$custom-light: #74ad79;
$custom-dark: #000000;
JSON
{
  "hex": "#338a44",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 68
  },
  "hsl": {
    "h": 131.724,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56379,
    "c": 0.13379,
    "h": 147.3
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#338A44
secondary
#B167A3
accent
#52BCD6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338A44

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

Preview Lab → · Contrast checker → · Palette generator →

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