#338F50#338F50

#338F50 is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.129 H 150.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#338F50
RGBrgb(51, 143, 80)
HSLhsl(139, 47%, 38%)
HSVhsv(139, 64%, 56%)
CMYKcmyk(64.3%, 0%, 44.1%, 43.9%)
CIE-LABlab(52.87, -41.67, 25.70)
CIE-LCHlch(52.87, 48.96, 148.33°)
OKLaboklab(57.95% -0.1125 0.0634)
OKLCHoklch(57.95% 0.129 150.6)
XYZxyz(12.6347, 20.9266, 10.9613)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F50 #8F3372
analogous
#448F33 #338F50 #338F7E
triadic
#338F50 #50338F #8F5033
tetradic
#338F50 #33448F #8F3372 #8F7E33
square
#338F50 #33448F #8F3372 #8F7E33
split-complementary
#338F50 #7E338F #8F3344
monochromatic
#13351E #236237 #338F50 #43BC69 #70CC8D

Accessibility & contrast

On white

4.05
#338F50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#338F50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F50
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F50#FFFFFF#000000##000000
##338F501.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90834B
Deuteranopia (green-blind)
#847B54
Tritanopia (blue-blind)
#128D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338f50;
/* rgb */ color: rgb(51, 143, 80);
/* oklch */ color: oklch(58.0% 0.129 150.6);
Tailwind
colors: {
  custom: {
    50: '#75b182',
    500: '#338f50',
    950: '#000000',
  },
}
SCSS
$custom: #338f50;
$custom-light: #75b182;
$custom-dark: #000000;
JSON
{
  "hex": "#338f50",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 80
  },
  "hsl": {
    "h": 138.913,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.12917,
    "h": 150.6
  },
  "luminance": 0.20928
}

Semantic roles & 50–950 ramp

primary
#338F50
secondary
#B46A9D
accent
#51ADD7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #338F50

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

Preview Lab → · Contrast checker → · Palette generator →

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