#338957#338957

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

Color values

HEX#338957
RGBrgb(51, 137, 87)
HSLhsl(145, 46%, 37%)
HSVhsv(145, 63%, 54%)
CMYKcmyk(62.8%, 0%, 36.5%, 46.3%)
CIE-LABlab(51.02, -37.82, 19.38)
CIE-LCHlch(51.02, 42.49, 152.86°)
OKLaboklab(56.47% -0.1026 0.0487)
OKLCHoklch(56.47% 0.114 154.6)
XYZxyz(12.0302, 19.2821, 12.1028)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338957 #893365
analogous
#3A8933 #338957 #338982
triadic
#338957 #573389 #895733
tetradic
#338957 #333A89 #893365 #898233
square
#338957 #333A89 #893365 #898233
split-complementary
#338957 #823389 #89333A
monochromatic
#12301E #225C3B #338957 #44B673 #6EC994

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338957#FFFFFF#000000##000000
##3389571.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)
#897E54
Deuteranopia (green-blind)
#7D765A
Tritanopia (blue-blind)
#10887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338957;
/* rgb */ color: rgb(51, 137, 87);
/* oklch */ color: oklch(56.5% 0.114 154.6);
Tailwind
colors: {
  custom: {
    50: '#74ac86',
    500: '#338957',
    950: '#000000',
  },
}
SCSS
$custom: #338957;
$custom-light: #74ac86;
$custom-dark: #000000;
JSON
{
  "hex": "#338957",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 87
  },
  "hsl": {
    "h": 145.116,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.11353,
    "h": 154.6
  },
  "luminance": 0.19283
}

Semantic roles & 50–950 ramp

primary
#338957
secondary
#B16792
accent
#529FD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338957

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

Preview Lab → · Contrast checker → · Palette generator →

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