#338C58#338C58

#338C58 is a mid, moderate green. Relative luminance 0.202; OKLCH L 57.3% C 0.117 H 154.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#338C58
RGBrgb(51, 140, 88)
HSLhsl(145, 47%, 37%)
HSVhsv(145, 64%, 55%)
CMYKcmyk(63.6%, 0%, 37.1%, 45.1%)
CIE-LABlab(52.02, -38.90, 20.17)
CIE-LCHlch(52.02, 43.82, 152.59°)
OKLaboklab(57.3% -0.1054 0.0506)
OKLCHoklch(57.3% 0.117 154.4)
XYZxyz(12.5037, 20.1633, 12.4636)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C58 #8C3367
analogous
#3A8C33 #338C58 #338C85
triadic
#338C58 #58338C #8C5833
tetradic
#338C58 #333A8C #8C3367 #8C8533
square
#338C58 #333A8C #8C3367 #8C8533
split-complementary
#338C58 #85338C #8C333A
monochromatic
#123220 #235F3C #338C58 #43B974 #6FCB95

Accessibility & contrast

On white

4.17
#338C58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338C58#FFFFFF#000000##000000
##338C581.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8155
Deuteranopia (green-blind)
#80795B
Tritanopia (blue-blind)
#0D8A7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338c58;
/* rgb */ color: rgb(51, 140, 88);
/* oklch */ color: oklch(57.3% 0.117 154.4);
Tailwind
colors: {
  custom: {
    50: '#74ae87',
    500: '#338c58',
    950: '#000000',
  },
}
SCSS
$custom: #338c58;
$custom-light: #74ae87;
$custom-dark: #000000;
JSON
{
  "hex": "#338c58",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 88
  },
  "hsl": {
    "h": 144.944,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.11693,
    "h": 154.4
  },
  "luminance": 0.20165
}

Semantic roles & 50–950 ramp

primary
#338C58
secondary
#B26894
accent
#529FD6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338C58

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

Preview Lab → · Contrast checker → · Palette generator →

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