#338119#338119

#338119 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.156 H 139.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#338119
RGBrgb(51, 129, 25)
HSLhsl(105, 68%, 30%)
HSVhsv(105, 81%, 51%)
CMYKcmyk(60.5%, 0%, 80.6%, 49.4%)
CIE-LABlab(47.59, -42.95, 45.42)
CIE-LCHlch(47.59, 62.51, 133.40°)
OKLaboklab(53.4% -0.1182 0.1012)
OKLCHoklch(53.4% 0.156 139.4)
XYZxyz(9.3906, 16.4737, 3.6044)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338119 #671981
analogous
#678119 #338119 #198133
triadic
#338119 #193381 #811933
tetradic
#338119 #196781 #671981 #813319
square
#338119 #196781 #671981 #813319
split-complementary
#338119 #331981 #811967
monochromatic
#0A1A05 #1F4E0F #338119 #47B423 #63D93B

Accessibility & contrast

On white

4.89
#338119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#338119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338119
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338119#FFFFFF#000000##FFFFFF
##3381191.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#2A7C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338119;
/* rgb */ color: rgb(51, 129, 25);
/* oklch */ color: oklch(53.4% 0.156 139.4);
Tailwind
colors: {
  custom: {
    50: '#75a65f',
    500: '#338119',
    950: '#000000',
  },
}
SCSS
$custom: #338119;
$custom-light: #75a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#338119",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 105,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.15561,
    "h": 139.4
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#338119
secondary
#9841B5
accent
#3DEABF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338119

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

Preview Lab → · Contrast checker → · Palette generator →

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