#338419#338419

#338419 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.159 H 139.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#338419
RGBrgb(51, 132, 25)
HSLhsl(105, 68%, 31%)
HSVhsv(105, 81%, 52%)
CMYKcmyk(61.4%, 0%, 81.1%, 48.2%)
CIE-LABlab(48.61, -44.08, 46.39)
CIE-LCHlch(48.61, 63.99, 133.54°)
OKLaboklab(54.24% -0.1212 0.1032)
OKLCHoklch(54.24% 0.159 139.6)
XYZxyz(9.7915, 17.2756, 3.7381)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338419 #6A1984
analogous
#688419 #338419 #198435
triadic
#338419 #193384 #841933
tetradic
#338419 #196884 #6A1984 #843519
square
#338419 #196884 #6A1984 #843519
split-complementary
#338419 #351984 #841968
monochromatic
#0B1D06 #1F510F #338419 #47B723 #63DA3D

Accessibility & contrast

On white

4.71
#338419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #338419
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338419#FFFFFF#000000##FFFFFF
##3384191.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#297F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338419;
/* rgb */ color: rgb(51, 132, 25);
/* oklch */ color: oklch(54.2% 0.159 139.6);
Tailwind
colors: {
  custom: {
    50: '#75a95f',
    500: '#338419',
    950: '#000000',
  },
}
SCSS
$custom: #338419;
$custom-light: #75a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#338419",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 105.421,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.15924,
    "h": 139.6
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#338419
secondary
#9B41B8
accent
#3DEBC1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #338419

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

Preview Lab → · Contrast checker → · Palette generator →

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