#338416#338416

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

Color values

HEX#338416
RGBrgb(51, 132, 22)
HSLhsl(104, 71%, 30%)
HSVhsv(104, 83%, 52%)
CMYKcmyk(61.4%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.59, -44.26, 47.31)
CIE-LCHlch(48.59, 64.79, 133.09°)
OKLaboklab(54.22% -0.1219 0.1047)
OKLCHoklch(54.22% 0.161 139.3)
XYZxyz(9.7609, 17.2634, 3.5767)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338416 #671684
analogous
#6A8416 #338416 #168430
triadic
#338416 #163384 #841633
tetradic
#338416 #166A84 #671684 #843016
square
#338416 #166A84 #671684 #843016
split-complementary
#338416 #301684 #84166A
monochromatic
#0A1B05 #1F500D #338416 #47B81F #63DE37

Accessibility & contrast

On white

4.72
#338416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#338416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338416
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338416#FFFFFF#000000##FFFFFF
##3384161.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338416;
/* rgb */ color: rgb(51, 132, 22);
/* oklch */ color: oklch(54.2% 0.161 139.3);
Tailwind
colors: {
  custom: {
    50: '#75a95e',
    500: '#338416',
    950: '#000000',
  },
}
SCSS
$custom: #338416;
$custom-light: #75a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#338416",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 104.182,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.16069,
    "h": 139.3
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#338416
secondary
#983DB8
accent
#3AEEBF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #338416

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

Preview Lab → · Contrast checker → · Palette generator →

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