#338E50#338E50

#338E50 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.128 H 150.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#338E50
RGBrgb(51, 142, 80)
HSLhsl(139, 47%, 38%)
HSVhsv(139, 64%, 56%)
CMYKcmyk(64.1%, 0%, 43.7%, 44.3%)
CIE-LABlab(52.54, -41.26, 25.27)
CIE-LCHlch(52.54, 48.39, 148.51°)
OKLaboklab(57.68% -0.1114 0.0624)
OKLCHoklch(57.68% 0.128 150.7)
XYZxyz(12.4852, 20.6277, 10.9114)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E50 #8E3371
analogous
#438E33 #338E50 #338E7D
triadic
#338E50 #50338E #8E5033
tetradic
#338E50 #33438E #8E3371 #8E7D33
square
#338E50 #33438E #8E3371 #8E7D33
split-complementary
#338E50 #7D338E #8E3343
monochromatic
#13341D #236137 #338E50 #43BB69 #70CC8D

Accessibility & contrast

On white

4.10
#338E50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#338E50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E50
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E50#FFFFFF#000000##000000
##338E501.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F824B
Deuteranopia (green-blind)
#837A54
Tritanopia (blue-blind)
#138C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338e50;
/* rgb */ color: rgb(51, 142, 80);
/* oklch */ color: oklch(57.7% 0.128 150.7);
Tailwind
colors: {
  custom: {
    50: '#75b082',
    500: '#338e50',
    950: '#000000',
  },
}
SCSS
$custom: #338e50;
$custom-light: #75b082;
$custom-dark: #000000;
JSON
{
  "hex": "#338e50",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 80
  },
  "hsl": {
    "h": 139.121,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.12774,
    "h": 150.7
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#338E50
secondary
#B4699C
accent
#51ACD7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338E50

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

Preview Lab → · Contrast checker → · Palette generator →

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