#338D55#338D55

#338D55 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.5% C 0.121 H 152.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#338D55
RGBrgb(51, 141, 85)
HSLhsl(143, 47%, 38%)
HSVhsv(143, 64%, 55%)
CMYKcmyk(63.8%, 0%, 39.7%, 44.7%)
CIE-LABlab(52.30, -39.91, 22.21)
CIE-LCHlch(52.30, 45.67, 150.91°)
OKLaboklab(57.51% -0.108 0.0554)
OKLCHoklch(57.51% 0.121 152.9)
XYZxyz(12.5288, 20.4082, 11.8715)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D55 #8D336B
analogous
#3E8D33 #338D55 #338D82
triadic
#338D55 #55338D #8D5533
tetradic
#338D55 #333E8D #8D336B #8D8233
square
#338D55 #333E8D #8D336B #8D8233
split-complementary
#338D55 #82338D #8D333E
monochromatic
#12331F #23603A #338D55 #43BA70 #6FCB92

Accessibility & contrast

On white

4.13
#338D55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#338D55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D55
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D55#FFFFFF#000000##000000
##338D551.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8251
Deuteranopia (green-blind)
#817959
Tritanopia (blue-blind)
#0F8B7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338d55;
/* rgb */ color: rgb(51, 141, 85);
/* oklch */ color: oklch(57.5% 0.121 152.9);
Tailwind
colors: {
  custom: {
    50: '#75af85',
    500: '#338d55',
    950: '#000000',
  },
}
SCSS
$custom: #338d55;
$custom-light: #75af85;
$custom-dark: #000000;
JSON
{
  "hex": "#338d55",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 85
  },
  "hsl": {
    "h": 142.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.12134,
    "h": 152.9
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#338D55
secondary
#B36997
accent
#51A4D7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338D55

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

Preview Lab → · Contrast checker → · Palette generator →

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