#338E58#338E58

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

Color values

HEX#338E58
RGBrgb(51, 142, 88)
HSLhsl(144, 47%, 38%)
HSVhsv(144, 64%, 56%)
CMYKcmyk(64.1%, 0%, 38%, 44.3%)
CIE-LABlab(52.68, -39.75, 21.05)
CIE-LCHlch(52.68, 44.98, 152.10°)
OKLaboklab(57.84% -0.1076 0.0527)
OKLCHoklch(57.84% 0.12 153.9)
XYZxyz(12.7986, 20.7531, 12.5619)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E58 #8E3369
analogous
#3B8E33 #338E58 #338E85
triadic
#338E58 #58338E #8E5833
tetradic
#338E58 #333B8E #8E3369 #8E8533
square
#338E58 #333B8E #8E3369 #8E8533
split-complementary
#338E58 #85338E #8E333B
monochromatic
#133420 #23613C #338E58 #43BB74 #70CC95

Accessibility & contrast

On white

4.08
#338E58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338E58#FFFFFF#000000##000000
##338E581.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8354
Deuteranopia (green-blind)
#827A5B
Tritanopia (blue-blind)
#0B8C80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338e58;
/* rgb */ color: rgb(51, 142, 88);
/* oklch */ color: oklch(57.8% 0.120 153.9);
Tailwind
colors: {
  custom: {
    50: '#75b087',
    500: '#338e58',
    950: '#000000',
  },
}
SCSS
$custom: #338e58;
$custom-light: #75b087;
$custom-dark: #000000;
JSON
{
  "hex": "#338e58",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 88
  },
  "hsl": {
    "h": 144.396,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.11984,
    "h": 153.9
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#338E58
secondary
#B46995
accent
#51A0D7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338E58

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

Preview Lab → · Contrast checker → · Palette generator →

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