#338322#338322

#338322 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.153 H 140.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#338322
RGBrgb(51, 131, 34)
HSLhsl(109, 59%, 32%)
HSVhsv(109, 74%, 51%)
CMYKcmyk(61.1%, 0%, 74%, 48.6%)
CIE-LABlab(48.32, -43.04, 42.85)
CIE-LCHlch(48.32, 60.74, 135.13°)
OKLaboklab(54.03% -0.1179 0.0972)
OKLCHoklch(54.03% 0.153 140.5)
XYZxyz(9.7698, 17.0510, 4.2894)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338322 #722283
analogous
#638322 #338322 #228342
triadic
#338322 #223383 #832233
tetradic
#338322 #226383 #722283 #834222
square
#338322 #226383 #722283 #834222
split-complementary
#338322 #422283 #832263
monochromatic
#0D2209 #205215 #338322 #46B42F #65D14E

Accessibility & contrast

On white

4.76
#338322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#338322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338322
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338322#FFFFFF#000000##FFFFFF
##3383221.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#287F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338322;
/* rgb */ color: rgb(51, 131, 34);
/* oklch */ color: oklch(54.0% 0.153 140.5);
Tailwind
colors: {
  custom: {
    50: '#75a863',
    500: '#338322',
    950: '#000000',
  },
}
SCSS
$custom: #338322;
$custom-light: #75a863;
$custom-dark: #000000;
JSON
{
  "hex": "#338322",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 109.485,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.15279,
    "h": 140.5
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338322

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

Preview Lab → · Contrast checker → · Palette generator →

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