#338622#338622

#338622 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.157 H 140.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#338622
RGBrgb(51, 134, 34)
HSLhsl(110, 60%, 33%)
HSVhsv(110, 75%, 53%)
CMYKcmyk(61.9%, 0%, 74.6%, 47.5%)
CIE-LABlab(49.34, -44.18, 43.88)
CIE-LCHlch(49.34, 62.27, 135.19°)
OKLaboklab(54.86% -0.121 0.0993)
OKLCHoklch(54.86% 0.157 140.6)
XYZxyz(10.1786, 17.8686, 4.4256)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338622 #752286
analogous
#658622 #338622 #228643
triadic
#338622 #223386 #862233
tetradic
#338622 #226586 #752286 #864322
square
#338622 #226586 #752286 #864322
split-complementary
#338622 #432286 #862265
monochromatic
#0E2409 #205516 #338622 #46B72E #66D350

Accessibility & contrast

On white

4.59
#338622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#338622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338622
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338622#FFFFFF#000000##FFFFFF
##3386221.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7910
Deuteranopia (green-blind)
#7F732C
Tritanopia (blue-blind)
#278272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338622;
/* rgb */ color: rgb(51, 134, 34);
/* oklch */ color: oklch(54.9% 0.157 140.6);
Tailwind
colors: {
  custom: {
    50: '#75aa64',
    500: '#338622',
    950: '#000000',
  },
}
SCSS
$custom: #338622;
$custom-light: #75aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#338622",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 109.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.15654,
    "h": 140.6
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#338622
secondary
#A44EB6
accent
#45E3C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338622

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

Preview Lab → · Contrast checker → · Palette generator →

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