#338019#338019

#338019 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.154 H 139.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#338019
RGBrgb(51, 128, 25)
HSLhsl(105, 67%, 30%)
HSVhsv(105, 80%, 50%)
CMYKcmyk(60.2%, 0%, 80.5%, 49.8%)
CIE-LABlab(47.25, -42.57, 45.10)
CIE-LCHlch(47.25, 62.01, 133.35°)
OKLaboklab(53.12% -0.1172 0.1005)
OKLCHoklch(53.12% 0.154 139.4)
XYZxyz(9.2595, 16.2115, 3.5607)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338019 #661980
analogous
#678019 #338019 #198032
triadic
#338019 #193380 #801933
tetradic
#338019 #196780 #661980 #803219
square
#338019 #196780 #661980 #803219
split-complementary
#338019 #321980 #801967
monochromatic
#0A1A05 #1F4D0F #338019 #47B323 #63D93B

Accessibility & contrast

On white

4.95
#338019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#338019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338019
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338019#FFFFFF#000000##FFFFFF
##3380191.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#2A7B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #338019;
/* rgb */ color: rgb(51, 128, 25);
/* oklch */ color: oklch(53.1% 0.154 139.4);
Tailwind
colors: {
  custom: {
    50: '#75a65f',
    500: '#338019',
    950: '#000000',
  },
}
SCSS
$custom: #338019;
$custom-light: #75a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#338019",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 104.854,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.15439,
    "h": 139.4
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#338019
secondary
#9741B4
accent
#3EEABF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338019

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

Preview Lab → · Contrast checker → · Palette generator →

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