#339528#339528

#339528 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.171 H 141.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#339528
RGBrgb(51, 149, 40)
HSLhsl(114, 58%, 37%)
HSVhsv(114, 73%, 58%)
CMYKcmyk(65.8%, 0%, 73.2%, 41.6%)
CIE-LABlab(54.40, -49.20, 46.72)
CIE-LCHlch(54.40, 67.85, 136.48°)
OKLaboklab(59.06% -0.1342 0.1061)
OKLCHoklch(59.06% 0.171 141.7)
XYZxyz(12.4950, 22.3507, 5.6627)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339528 #8A2895
analogous
#6A9528 #339528 #289554
triadic
#339528 #283395 #952833
tetradic
#339528 #286A95 #8A2895 #955428
square
#339528 #286A95 #8A2895 #955428
split-complementary
#339528 #542895 #95286A
monochromatic
#12350E #22651B #339528 #44C535 #6ED562

Accessibility & contrast

On white

3.84
#339528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#339528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339528
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339528#FFFFFF#000000##000000
##3395281.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#209080
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #339528;
/* rgb */ color: rgb(51, 149, 40);
/* oklch */ color: oklch(59.1% 0.171 141.7);
Tailwind
colors: {
  custom: {
    50: '#78b569',
    500: '#339528',
    950: '#000000',
  },
}
SCSS
$custom: #339528;
$custom-light: #78b569;
$custom-dark: #000000;
JSON
{
  "hex": "#339528",
  "rgb": {
    "r": 51,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 113.945,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.17107,
    "h": 141.7
  },
  "luminance": 0.22352
}

Semantic roles & 50–950 ramp

primary
#339528
secondary
#B15EBB
accent
#47E1D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339528

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

Preview Lab → · Contrast checker → · Palette generator →

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