#338D49#338D49

#338D49 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.3% C 0.133 H 148.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#338D49
RGBrgb(51, 141, 73)
HSLhsl(135, 47%, 38%)
HSVhsv(135, 64%, 55%)
CMYKcmyk(63.8%, 0%, 48.2%, 44.7%)
CIE-LABlab(52.10, -42.06, 28.49)
CIE-LCHlch(52.10, 50.80, 145.89°)
OKLaboklab(57.28% -0.1136 0.0696)
OKLCHoklch(57.28% 0.133 148.5)
XYZxyz(12.0918, 20.2334, 9.5702)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D49 #8D3377
analogous
#4A8D33 #338D49 #338D76
triadic
#338D49 #49338D #8D4933
tetradic
#338D49 #334A8D #8D3377 #8D7633
square
#338D49 #334A8D #8D3377 #8D7633
split-complementary
#338D49 #76338D #8D334A
monochromatic
#12331A #236032 #338D49 #43BA60 #6FCB86

Accessibility & contrast

On white

4.16
#338D49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#338D49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D49
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D49#FFFFFF#000000##000000
##338D491.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8144
Deuteranopia (green-blind)
#83794E
Tritanopia (blue-blind)
#188A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338d49;
/* rgb */ color: rgb(51, 141, 73);
/* oklch */ color: oklch(57.3% 0.133 148.5);
Tailwind
colors: {
  custom: {
    50: '#75af7d',
    500: '#338d49',
    950: '#000000',
  },
}
SCSS
$custom: #338d49;
$custom-light: #75af7d;
$custom-dark: #000000;
JSON
{
  "hex": "#338d49",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 73
  },
  "hsl": {
    "h": 134.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57281,
    "c": 0.13319,
    "h": 148.5
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#338D49
secondary
#B369A1
accent
#51B6D7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338D49

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

Preview Lab → · Contrast checker → · Palette generator →

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