#338959#338959

#338959 is a mid, moderate green. Relative luminance 0.193; OKLCH L 56.5% C 0.112 H 155.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#338959
RGBrgb(51, 137, 89)
HSLhsl(147, 46%, 37%)
HSVhsv(147, 63%, 54%)
CMYKcmyk(62.8%, 0%, 35%, 46.3%)
CIE-LABlab(51.05, -37.41, 18.31)
CIE-LCHlch(51.05, 41.65, 153.92°)
OKLaboklab(56.51% -0.1016 0.0461)
OKLCHoklch(56.51% 0.112 155.6)
XYZxyz(12.1130, 19.3152, 12.5391)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338959 #893363
analogous
#388933 #338959 #338984
triadic
#338959 #593389 #895933
tetradic
#338959 #333889 #893363 #898433
square
#338959 #333889 #893363 #898433
split-complementary
#338959 #843389 #893338
monochromatic
#12301F #225C3C #338959 #44B676 #6EC996

Accessibility & contrast

On white

4.32
#338959 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#338959 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338959
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338959#FFFFFF#000000##000000
##3389591.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E56
Deuteranopia (green-blind)
#7D765C
Tritanopia (blue-blind)
#0E887D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338959;
/* rgb */ color: rgb(51, 137, 89);
/* oklch */ color: oklch(56.5% 0.112 155.6);
Tailwind
colors: {
  custom: {
    50: '#74ac88',
    500: '#338959',
    950: '#000000',
  },
}
SCSS
$custom: #338959;
$custom-light: #74ac88;
$custom-dark: #000000;
JSON
{
  "hex": "#338959",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 89
  },
  "hsl": {
    "h": 146.512,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56511,
    "c": 0.11156,
    "h": 155.6
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#338959
secondary
#B16790
accent
#529CD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338959

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

Preview Lab → · Contrast checker → · Palette generator →

#338959 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva