#338422#338422

#338422 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.154 H 140.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338422
RGBrgb(51, 132, 34)
HSLhsl(110, 59%, 33%)
HSVhsv(110, 74%, 52%)
CMYKcmyk(61.4%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.66, -43.42, 43.20)
CIE-LCHlch(48.66, 61.25, 135.15°)
OKLaboklab(54.31% -0.1189 0.0979)
OKLCHoklch(54.31% 0.154 140.5)
XYZxyz(9.9048, 17.3209, 4.3344)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338422 #732284
analogous
#648422 #338422 #228442
triadic
#338422 #223384 #842233
tetradic
#338422 #226484 #732284 #844222
square
#338422 #226484 #732284 #844222
split-complementary
#338422 #422284 #842264
monochromatic
#0D2309 #205315 #338422 #46B52F #65D24F

Accessibility & contrast

On white

4.70
#338422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#338422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338422
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338422#FFFFFF#000000##FFFFFF
##3384221.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#288071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338422;
/* rgb */ color: rgb(51, 132, 34);
/* oklch */ color: oklch(54.3% 0.154 140.5);
Tailwind
colors: {
  custom: {
    50: '#75a964',
    500: '#338422',
    950: '#000000',
  },
}
SCSS
$custom: #338422;
$custom-light: #75a964;
$custom-dark: #000000;
JSON
{
  "hex": "#338422",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 109.592,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.15404,
    "h": 140.5
  },
  "luminance": 0.17322
}

Semantic roles & 50–950 ramp

primary
#338422
secondary
#A34DB5
accent
#46E2C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338422

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

Preview Lab → · Contrast checker → · Palette generator →

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