#338C49#338C49

#338C49 is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.0% C 0.132 H 148.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#338C49
RGBrgb(51, 140, 73)
HSLhsl(135, 47%, 37%)
HSVhsv(135, 64%, 55%)
CMYKcmyk(63.6%, 0%, 47.9%, 45.1%)
CIE-LABlab(51.77, -41.66, 28.07)
CIE-LCHlch(51.77, 50.23, 146.03°)
OKLaboklab(57.01% -0.1125 0.0686)
OKLCHoklch(57.01% 0.132 148.6)
XYZxyz(11.9451, 19.9398, 9.5213)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C49 #8C3376
analogous
#4A8C33 #338C49 #338C75
triadic
#338C49 #49338C #8C4933
tetradic
#338C49 #334A8C #8C3376 #8C7533
square
#338C49 #334A8C #8C3376 #8C7533
split-complementary
#338C49 #75338C #8C334A
monochromatic
#12321A #235F32 #338C49 #43B960 #6FCB86

Accessibility & contrast

On white

4.21
#338C49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#338C49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C49
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C49#FFFFFF#000000##000000
##338C491.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8044
Deuteranopia (green-blind)
#82784E
Tritanopia (blue-blind)
#19897C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338c49;
/* rgb */ color: rgb(51, 140, 73);
/* oklch */ color: oklch(57.0% 0.132 148.6);
Tailwind
colors: {
  custom: {
    50: '#75ae7d',
    500: '#338c49',
    950: '#000000',
  },
}
SCSS
$custom: #338c49;
$custom-light: #75ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#338c49",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 73
  },
  "hsl": {
    "h": 134.831,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.13177,
    "h": 148.6
  },
  "luminance": 0.19941
}

Semantic roles & 50–950 ramp

primary
#338C49
secondary
#B268A0
accent
#52B5D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338C49

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

Preview Lab → · Contrast checker → · Palette generator →

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