#338E49#338E49

#338E49 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.6% C 0.135 H 148.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#338E49
RGBrgb(51, 142, 73)
HSLhsl(135, 47%, 38%)
HSVhsv(135, 64%, 56%)
CMYKcmyk(64.1%, 0%, 48.6%, 44.3%)
CIE-LABlab(52.43, -42.47, 28.91)
CIE-LCHlch(52.43, 51.37, 145.76°)
OKLaboklab(57.55% -0.1147 0.0705)
OKLCHoklch(57.55% 0.135 148.4)
XYZxyz(12.2400, 20.5296, 9.6196)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E49 #8E3378
analogous
#4B8E33 #338E49 #338E76
triadic
#338E49 #49338E #8E4933
tetradic
#338E49 #334B8E #8E3378 #8E7633
square
#338E49 #334B8E #8E3378 #8E7633
split-complementary
#338E49 #76338E #8E334B
monochromatic
#13341B #236132 #338E49 #43BB60 #70CC86

Accessibility & contrast

On white

4.11
#338E49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#338E49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E49
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E49#FFFFFF#000000##000000
##338E491.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8243
Deuteranopia (green-blind)
#847A4E
Tritanopia (blue-blind)
#188B7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338e49;
/* rgb */ color: rgb(51, 142, 73);
/* oklch */ color: oklch(57.6% 0.135 148.4);
Tailwind
colors: {
  custom: {
    50: '#75b07d',
    500: '#338e49',
    950: '#000000',
  },
}
SCSS
$custom: #338e49;
$custom-light: #75b07d;
$custom-dark: #000000;
JSON
{
  "hex": "#338e49",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 73
  },
  "hsl": {
    "h": 134.505,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.13461,
    "h": 148.4
  },
  "luminance": 0.20531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338E49

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

Preview Lab → · Contrast checker → · Palette generator →

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