#338619#338619

#338619 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.162 H 139.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#338619
RGBrgb(51, 134, 25)
HSLhsl(106, 69%, 31%)
HSVhsv(106, 81%, 53%)
CMYKcmyk(61.9%, 0%, 81.3%, 47.5%)
CIE-LABlab(49.28, -44.83, 47.03)
CIE-LCHlch(49.28, 64.97, 133.63°)
OKLaboklab(54.8% -0.1232 0.1046)
OKLCHoklch(54.8% 0.162 139.7)
XYZxyz(10.0654, 17.8233, 3.8293)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338619 #6C1986
analogous
#698619 #338619 #198635
triadic
#338619 #193386 #861933
tetradic
#338619 #196986 #6C1986 #863519
square
#338619 #196986 #6C1986 #863519
split-complementary
#338619 #351986 #861969
monochromatic
#0C1F06 #1F520F #338619 #47BA23 #64DB3E

Accessibility & contrast

On white

4.60
#338619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#338619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338619
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338619#FFFFFF#000000##FFFFFF
##3386191.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#288172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338619;
/* rgb */ color: rgb(51, 134, 25);
/* oklch */ color: oklch(54.8% 0.162 139.7);
Tailwind
colors: {
  custom: {
    50: '#76aa60',
    500: '#338619',
    950: '#000000',
  },
}
SCSS
$custom: #338619;
$custom-light: #76aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#338619",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 105.688,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.548,
    "c": 0.16164,
    "h": 139.7
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#338619
secondary
#9D41BA
accent
#3CEBC2
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #338619

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

Preview Lab → · Contrast checker → · Palette generator →

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