#338827#338827

#338827 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.156 H 141.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338827
RGBrgb(51, 136, 39)
HSLhsl(113, 55%, 34%)
HSVhsv(113, 71%, 53%)
CMYKcmyk(62.5%, 0%, 71.3%, 46.7%)
CIE-LABlab(50.05, -44.50, 42.61)
CIE-LCHlch(50.05, 61.61, 136.25°)
OKLaboklab(55.46% -0.1216 0.0973)
OKLCHoklch(55.46% 0.156 141.3)
XYZxyz(10.5351, 18.4576, 4.9266)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338827 #7C2788
analogous
#648827 #338827 #27884B
triadic
#338827 #273388 #882733
tetradic
#338827 #276488 #7C2788 #884B27
square
#338827 #276488 #7C2788 #884B27
split-complementary
#338827 #4B2788 #882764
monochromatic
#0F290C #215819 #338827 #45B835 #68D05A

Accessibility & contrast

On white

4.48
#338827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#338827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338827
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338827#FFFFFF#000000##000000
##3388271.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B18
Deuteranopia (green-blind)
#817430
Tritanopia (blue-blind)
#268475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338827;
/* rgb */ color: rgb(51, 136, 39);
/* oklch */ color: oklch(55.5% 0.156 141.3);
Tailwind
colors: {
  custom: {
    50: '#75ab67',
    500: '#338827',
    950: '#000000',
  },
}
SCSS
$custom: #338827;
$custom-light: #75ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#338827",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 112.577,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.15572,
    "h": 141.3
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#338827
secondary
#A956B5
accent
#49DFCC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338827

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

Preview Lab → · Contrast checker → · Palette generator →

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