#338520#338520

#338520 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.157 H 140.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#338520
RGBrgb(51, 133, 32)
HSLhsl(109, 61%, 32%)
HSVhsv(109, 76%, 52%)
CMYKcmyk(61.7%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.99, -43.96, 44.29)
CIE-LCHlch(48.99, 62.41, 134.79°)
OKLaboklab(54.57% -0.1205 0.0999)
OKLCHoklch(54.57% 0.157 140.3)
XYZxyz(10.0130, 17.5822, 4.2323)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338520 #722085
analogous
#658520 #338520 #208540
triadic
#338520 #203385 #852033
tetradic
#338520 #206585 #722085 #854020
square
#338520 #206585 #722085 #854020
split-complementary
#338520 #402085 #852065
monochromatic
#0D2208 #205414 #338520 #46B62C #65D44C

Accessibility & contrast

On white

4.65
#338520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#338520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338520
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338520#FFFFFF#000000##FFFFFF
##3385201.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#288172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338520;
/* rgb */ color: rgb(51, 133, 32);
/* oklch */ color: oklch(54.6% 0.157 140.3);
Tailwind
colors: {
  custom: {
    50: '#75a963',
    500: '#338520',
    950: '#000000',
  },
}
SCSS
$custom: #338520;
$custom-light: #75a963;
$custom-dark: #000000;
JSON
{
  "hex": "#338520",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 108.713,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.15654,
    "h": 140.3
  },
  "luminance": 0.17583
}

Semantic roles & 50–950 ramp

primary
#338520
secondary
#A24AB7
accent
#43E4C6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338520

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

Preview Lab → · Contrast checker → · Palette generator →

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