#338F58#338F58

#338F58 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.121 H 153.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#338F58
RGBrgb(51, 143, 88)
HSLhsl(144, 47%, 38%)
HSVhsv(144, 64%, 56%)
CMYKcmyk(64.3%, 0%, 38.5%, 43.9%)
CIE-LABlab(53.01, -40.17, 21.48)
CIE-LCHlch(53.01, 45.55, 151.86°)
OKLaboklab(58.11% -0.1087 0.0537)
OKLCHoklch(58.11% 0.121 153.7)
XYZxyz(12.9481, 21.0520, 12.6117)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F58 #8F336A
analogous
#3C8F33 #338F58 #338F86
triadic
#338F58 #58338F #8F5833
tetradic
#338F58 #333C8F #8F336A #8F8633
square
#338F58 #333C8F #8F336A #8F8633
split-complementary
#338F58 #86338F #8F333C
monochromatic
#133520 #23623C #338F58 #43BC74 #70CC95

Accessibility & contrast

On white

4.03
#338F58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#338F58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F58
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F58#FFFFFF#000000##000000
##338F581.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8454
Deuteranopia (green-blind)
#837B5C
Tritanopia (blue-blind)
#0A8D81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338f58;
/* rgb */ color: rgb(51, 143, 88);
/* oklch */ color: oklch(58.1% 0.121 153.7);
Tailwind
colors: {
  custom: {
    50: '#75b087',
    500: '#338f58',
    950: '#000000',
  },
}
SCSS
$custom: #338f58;
$custom-light: #75b087;
$custom-dark: #000000;
JSON
{
  "hex": "#338f58",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 88
  },
  "hsl": {
    "h": 144.13,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.12128,
    "h": 153.7
  },
  "luminance": 0.21053
}

Semantic roles & 50–950 ramp

primary
#338F58
secondary
#B46A96
accent
#51A1D7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #338F58

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

Preview Lab → · Contrast checker → · Palette generator →

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