#338B4B#338B4B

#338B4B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.128 H 149.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#338B4B
RGBrgb(51, 139, 75)
HSLhsl(136, 46%, 37%)
HSVhsv(136, 63%, 55%)
CMYKcmyk(63.3%, 0%, 46%, 45.5%)
CIE-LABlab(51.47, -40.91, 26.61)
CIE-LCHlch(51.47, 48.80, 146.96°)
OKLaboklab(56.77% -0.1105 0.0653)
OKLCHoklch(56.77% 0.128 149.4)
XYZxyz(11.8670, 19.6759, 9.8277)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B4B #8B3373
analogous
#478B33 #338B4B #338B77
triadic
#338B4B #4B338B #8B4B33
tetradic
#338B4B #33478B #8B3373 #8B7733
square
#338B4B #33478B #8B3373 #8B7733
split-complementary
#338B4B #77338B #8B3347
monochromatic
#12311B #235E33 #338B4B #43B863 #6ECA87

Accessibility & contrast

On white

4.25
#338B4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#338B4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B4B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B4B#FFFFFF#000000##000000
##338B4B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F46
Deuteranopia (green-blind)
#81784F
Tritanopia (blue-blind)
#18887C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338b4b;
/* rgb */ color: rgb(51, 139, 75);
/* oklch */ color: oklch(56.8% 0.128 149.4);
Tailwind
colors: {
  custom: {
    50: '#74ae7e',
    500: '#338b4b',
    950: '#000000',
  },
}
SCSS
$custom: #338b4b;
$custom-light: #74ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#338b4b",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 75
  },
  "hsl": {
    "h": 136.364,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.12837,
    "h": 149.4
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#338B4B
secondary
#B2689E
accent
#52B2D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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