#338E47#338E47

#338E47 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.137 H 147.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#338E47
RGBrgb(51, 142, 71)
HSLhsl(133, 47%, 38%)
HSVhsv(133, 64%, 56%)
CMYKcmyk(64.1%, 0%, 50%, 44.3%)
CIE-LABlab(52.40, -42.79, 29.93)
CIE-LCHlch(52.40, 52.22, 145.03°)
OKLaboklab(57.52% -0.1156 0.0727)
OKLCHoklch(57.52% 0.137 147.8)
XYZxyz(12.1747, 20.5035, 9.2760)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E47 #8E337A
analogous
#4C8E33 #338E47 #338E74
triadic
#338E47 #47338E #8E4733
tetradic
#338E47 #334C8E #8E337A #8E7433
square
#338E47 #334C8E #8E337A #8E7433
split-complementary
#338E47 #74338E #8E334C
monochromatic
#13341A #236130 #338E47 #43BB5E #70CC84

Accessibility & contrast

On white

4.12
#338E47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#338E47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E47
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E47#FFFFFF#000000##000000
##338E471.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908241
Deuteranopia (green-blind)
#847A4C
Tritanopia (blue-blind)
#198B7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338e47;
/* rgb */ color: rgb(51, 142, 71);
/* oklch */ color: oklch(57.5% 0.137 147.8);
Tailwind
colors: {
  custom: {
    50: '#75b07b',
    500: '#338e47',
    950: '#000000',
  },
}
SCSS
$custom: #338e47;
$custom-light: #75b07b;
$custom-dark: #000000;
JSON
{
  "hex": "#338e47",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 71
  },
  "hsl": {
    "h": 133.187,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5752,
    "c": 0.13654,
    "h": 147.8
  },
  "luminance": 0.20505
}

Semantic roles & 50–950 ramp

primary
#338E47
secondary
#B469A3
accent
#51B9D7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338E47

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

Preview Lab → · Contrast checker → · Palette generator →

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