#338847#338847

#338847 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.128 H 148.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338847
RGBrgb(51, 136, 71)
HSLhsl(134, 45%, 37%)
HSVhsv(134, 63%, 53%)
CMYKcmyk(62.5%, 0%, 47.8%, 46.7%)
CIE-LABlab(50.41, -40.36, 27.43)
CIE-LCHlch(50.41, 48.80, 145.80°)
OKLaboklab(55.88% -0.109 0.067)
OKLCHoklch(55.88% 0.128 148.4)
XYZxyz(11.3059, 18.7660, 8.9864)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338847 #883374
analogous
#498833 #338847 #338872
triadic
#338847 #473388 #884733
tetradic
#338847 #334988 #883374 #887233
square
#338847 #334988 #883374 #887233
split-complementary
#338847 #723388 #883349
monochromatic
#122F19 #225B30 #338847 #44B55E #6DC883

Accessibility & contrast

On white

4.42
#338847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#338847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338847
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338847#FFFFFF#000000##000000
##3388471.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D42
Deuteranopia (green-blind)
#7E754B
Tritanopia (blue-blind)
#1C8579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338847;
/* rgb */ color: rgb(51, 136, 71);
/* oklch */ color: oklch(55.9% 0.128 148.4);
Tailwind
colors: {
  custom: {
    50: '#74ab7b',
    500: '#338847',
    950: '#000000',
  },
}
SCSS
$custom: #338847;
$custom-light: #74ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#338847",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 71
  },
  "hsl": {
    "h": 134.118,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.12801,
    "h": 148.4
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#338847
secondary
#B0679F
accent
#53B6D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338847

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

Preview Lab → · Contrast checker → · Palette generator →

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