#338822#338822

#338822 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.159 H 140.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338822
RGBrgb(51, 136, 34)
HSLhsl(110, 60%, 33%)
HSVhsv(110, 75%, 53%)
CMYKcmyk(62.5%, 0%, 75%, 46.7%)
CIE-LABlab(50.01, -44.93, 44.57)
CIE-LCHlch(50.01, 63.29, 135.24°)
OKLaboklab(55.42% -0.123 0.1008)
OKLCHoklch(55.42% 0.159 140.7)
XYZxyz(10.4576, 18.4266, 4.5187)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338822 #772288
analogous
#668822 #338822 #228844
triadic
#338822 #223388 #882233
tetradic
#338822 #226688 #772288 #884422
square
#338822 #226688 #772288 #884422
split-complementary
#338822 #442288 #882266
monochromatic
#0E260A #215716 #338822 #45B92E #67D351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338822#FFFFFF#000000##000000
##3388221.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)
#8C7B0F
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#268474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338822;
/* rgb */ color: rgb(51, 136, 34);
/* oklch */ color: oklch(55.4% 0.159 140.7);
Tailwind
colors: {
  custom: {
    50: '#76ab64',
    500: '#338822',
    950: '#000000',
  },
}
SCSS
$custom: #338822;
$custom-light: #76ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#338822",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 110,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.15901,
    "h": 140.7
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

primary
#338822
secondary
#A64FB7
accent
#45E3C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338822

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

Preview Lab → · Contrast checker → · Palette generator →

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