#338219#338219

#338219 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.157 H 139.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#338219
RGBrgb(51, 130, 25)
HSLhsl(105, 68%, 30%)
HSVhsv(105, 81%, 51%)
CMYKcmyk(60.8%, 0%, 80.8%, 49%)
CIE-LABlab(47.93, -43.33, 45.74)
CIE-LCHlch(47.93, 63.01, 133.45°)
OKLaboklab(53.68% -0.1192 0.1019)
OKLCHoklch(53.68% 0.157 139.5)
XYZxyz(9.5229, 16.7384, 3.6485)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338219 #681982
analogous
#678219 #338219 #198233
triadic
#338219 #193382 #821933
tetradic
#338219 #196782 #681982 #823319
square
#338219 #196782 #681982 #823319
split-complementary
#338219 #331982 #821967
monochromatic
#0B1B05 #1F4F0F #338219 #47B523 #63D93C

Accessibility & contrast

On white

4.83
#338219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#338219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338219
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338219#FFFFFF#000000##FFFFFF
##3382191.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#2A7D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338219;
/* rgb */ color: rgb(51, 130, 25);
/* oklch */ color: oklch(53.7% 0.157 139.5);
Tailwind
colors: {
  custom: {
    50: '#75a75f',
    500: '#338219',
    950: '#000000',
  },
}
SCSS
$custom: #338219;
$custom-light: #75a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#338219",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 105.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.15682,
    "h": 139.5
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#338219
secondary
#9941B6
accent
#3DEBC0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338219

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

Preview Lab → · Contrast checker → · Palette generator →

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