#338956#338956

#338956 is a mid, moderate green. Relative luminance 0.193; OKLCH L 56.4% C 0.115 H 154.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#338956
RGBrgb(51, 137, 86)
HSLhsl(144, 46%, 37%)
HSVhsv(144, 63%, 54%)
CMYKcmyk(62.8%, 0%, 37.2%, 46.3%)
CIE-LABlab(51.00, -38.02, 19.92)
CIE-LCHlch(51.00, 42.92, 152.35°)
OKLaboklab(56.45% -0.1031 0.0499)
OKLCHoklch(56.45% 0.115 154.2)
XYZxyz(11.9896, 19.2658, 11.8891)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338956 #893366
analogous
#3B8933 #338956 #338981
triadic
#338956 #563389 #895633
tetradic
#338956 #333B89 #893366 #898133
square
#338956 #333B89 #893366 #898133
split-complementary
#338956 #813389 #89333B
monochromatic
#12301E #225C3A #338956 #44B672 #6EC993

Accessibility & contrast

On white

4.33
#338956 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#338956 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338956
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338956#FFFFFF#000000##000000
##3389561.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E53
Deuteranopia (green-blind)
#7D7659
Tritanopia (blue-blind)
#11877C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338956;
/* rgb */ color: rgb(51, 137, 86);
/* oklch */ color: oklch(56.4% 0.115 154.2);
Tailwind
colors: {
  custom: {
    50: '#74ac86',
    500: '#338956',
    950: '#000000',
  },
}
SCSS
$custom: #338956;
$custom-light: #74ac86;
$custom-dark: #000000;
JSON
{
  "hex": "#338956",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 86
  },
  "hsl": {
    "h": 144.419,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.11452,
    "h": 154.2
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#338956
secondary
#B16793
accent
#52A0D5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338956

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

Preview Lab → · Contrast checker → · Palette generator →

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