#338E59#338E59

#338E59 is a mid, moderate green. Relative luminance 0.208; OKLCH L 57.9% C 0.119 H 154.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#338E59
RGBrgb(51, 142, 89)
HSLhsl(145, 47%, 38%)
HSVhsv(145, 64%, 56%)
CMYKcmyk(64.1%, 0%, 37.3%, 44.3%)
CIE-LABlab(52.70, -39.55, 20.52)
CIE-LCHlch(52.70, 44.55, 152.58°)
OKLaboklab(57.86% -0.1072 0.0514)
OKLCHoklch(57.86% 0.119 154.4)
XYZxyz(12.8403, 20.7698, 12.7815)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E59 #8E3368
analogous
#3A8E33 #338E59 #338E86
triadic
#338E59 #59338E #8E5933
tetradic
#338E59 #333A8E #8E3368 #8E8633
square
#338E59 #333A8E #8E3368 #8E8633
split-complementary
#338E59 #86338E #8E333A
monochromatic
#133421 #23613D #338E59 #43BB75 #70CC96

Accessibility & contrast

On white

4.07
#338E59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#338E59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E59
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E59#FFFFFF#000000##000000
##338E591.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8356
Deuteranopia (green-blind)
#827A5C
Tritanopia (blue-blind)
#0A8C80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338e59;
/* rgb */ color: rgb(51, 142, 89);
/* oklch */ color: oklch(57.9% 0.119 154.4);
Tailwind
colors: {
  custom: {
    50: '#75b088',
    500: '#338e59',
    950: '#000000',
  },
}
SCSS
$custom: #338e59;
$custom-light: #75b088;
$custom-dark: #000000;
JSON
{
  "hex": "#338e59",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 89
  },
  "hsl": {
    "h": 145.055,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.11885,
    "h": 154.4
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#338E59
secondary
#B46995
accent
#519FD7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338E59

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

Preview Lab → · Contrast checker → · Palette generator →

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