#338B49#338B49

#338B49 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.130 H 148.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#338B49
RGBrgb(51, 139, 73)
HSLhsl(135, 46%, 37%)
HSVhsv(135, 63%, 55%)
CMYKcmyk(63.3%, 0%, 47.5%, 45.5%)
CIE-LABlab(51.44, -41.25, 27.65)
CIE-LCHlch(51.44, 49.66, 146.17°)
OKLaboklab(56.74% -0.1114 0.0676)
OKLCHoklch(56.74% 0.13 148.7)
XYZxyz(11.7996, 19.6489, 9.4728)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B49 #8B3375
analogous
#498B33 #338B49 #338B75
triadic
#338B49 #49338B #8B4933
tetradic
#338B49 #33498B #8B3375 #8B7533
square
#338B49 #33498B #8B3375 #8B7533
split-complementary
#338B49 #75338B #8B3349
monochromatic
#12311A #235E31 #338B49 #43B861 #6ECA85

Accessibility & contrast

On white

4.26
#338B49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#338B49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B49
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B49#FFFFFF#000000##000000
##338B491.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F44
Deuteranopia (green-blind)
#81774E
Tritanopia (blue-blind)
#19887B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338b49;
/* rgb */ color: rgb(51, 139, 73);
/* oklch */ color: oklch(56.7% 0.130 148.7);
Tailwind
colors: {
  custom: {
    50: '#75ae7d',
    500: '#338b49',
    950: '#000000',
  },
}
SCSS
$custom: #338b49;
$custom-light: #75ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#338b49",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 73
  },
  "hsl": {
    "h": 135,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56736,
    "c": 0.13034,
    "h": 148.7
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338B49

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

Preview Lab → · Contrast checker → · Palette generator →

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