#338428#338428

#338428 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.150 H 141.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338428
RGBrgb(51, 132, 40)
HSLhsl(113, 53%, 34%)
HSVhsv(113, 70%, 52%)
CMYKcmyk(61.4%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.71, -42.88, 40.76)
CIE-LCHlch(48.71, 59.17, 136.45°)
OKLaboklab(54.36% -0.1171 0.0936)
OKLCHoklch(54.36% 0.15 141.4)
XYZxyz(9.9990, 17.3586, 4.8307)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338428 #792884
analogous
#618428 #338428 #28844B
triadic
#338428 #283384 #842833
tetradic
#338428 #286184 #792884 #844B28
square
#338428 #286184 #792884 #844B28
split-complementary
#338428 #4B2884 #842861
monochromatic
#0F260C #21551A #338428 #45B336 #67CD5A

Accessibility & contrast

On white

4.70
#338428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#338428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338428
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338428#FFFFFF#000000##FFFFFF
##3384281.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781B
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#278071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338428;
/* rgb */ color: rgb(51, 132, 40);
/* oklch */ color: oklch(54.4% 0.150 141.4);
Tailwind
colors: {
  custom: {
    50: '#75a967',
    500: '#338428',
    950: '#000000',
  },
}
SCSS
$custom: #338428;
$custom-light: #75a967;
$custom-dark: #000000;
JSON
{
  "hex": "#338428",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 112.826,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5436,
    "c": 0.14992,
    "h": 141.4
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#338428
secondary
#A756B2
accent
#4BDDCB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338428

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

Preview Lab → · Contrast checker → · Palette generator →

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