#338722#338722

#338722 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.158 H 140.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#338722
RGBrgb(51, 135, 34)
HSLhsl(110, 60%, 33%)
HSVhsv(110, 75%, 53%)
CMYKcmyk(62.2%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.67, -44.56, 44.23)
CIE-LCHlch(49.67, 62.78, 135.22°)
OKLaboklab(55.14% -0.122 0.1)
OKLCHoklch(55.14% 0.158 140.7)
XYZxyz(10.3175, 18.1463, 4.4719)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338722 #762287
analogous
#658722 #338722 #228743
triadic
#338722 #223387 #872233
tetradic
#338722 #226587 #762287 #874322
square
#338722 #226587 #762287 #874322
split-complementary
#338722 #432287 #872265
monochromatic
#0E2509 #215616 #338722 #45B82E #66D350

Accessibility & contrast

On white

4.54
#338722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#338722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338722
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338722#FFFFFF#000000##000000
##3387221.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A10
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#278373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338722;
/* rgb */ color: rgb(51, 135, 34);
/* oklch */ color: oklch(55.1% 0.158 140.7);
Tailwind
colors: {
  custom: {
    50: '#75ab64',
    500: '#338722',
    950: '#000000',
  },
}
SCSS
$custom: #338722;
$custom-light: #75ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#338722",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 109.901,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.15778,
    "h": 140.7
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338722

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

Preview Lab → · Contrast checker → · Palette generator →

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