#339538#339538

#339538 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.159 H 144.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#339538
RGBrgb(51, 149, 56)
HSLhsl(123, 49%, 39%)
HSVhsv(123, 66%, 58%)
CMYKcmyk(65.8%, 0%, 62.4%, 41.6%)
CIE-LABlab(54.54, -47.57, 39.98)
CIE-LCHlch(54.54, 62.14, 139.96°)
OKLaboklab(59.22% -0.129 0.0937)
OKLCHoklch(59.22% 0.159 144)
XYZxyz(12.8257, 22.4829, 7.4043)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339538 #953390
analogous
#5F9533 #339538 #339569
triadic
#339538 #383395 #953833
tetradic
#339538 #335F95 #953390 #956933
square
#339538 #335F95 #953390 #956933
split-complementary
#339538 #693395 #95335F
monochromatic
#143A16 #236727 #339538 #46C04C #73CF78

Accessibility & contrast

On white

3.82
#339538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#339538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339538
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339538#FFFFFF#000000##000000
##3395381.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872E
Deuteranopia (green-blind)
#8C7F40
Tritanopia (blue-blind)
#1C9181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #339538;
/* rgb */ color: rgb(51, 149, 56);
/* oklch */ color: oklch(59.2% 0.159 144.0);
Tailwind
colors: {
  custom: {
    50: '#77b572',
    500: '#339538',
    950: '#000000',
  },
}
SCSS
$custom: #339538;
$custom-light: #77b572;
$custom-dark: #000000;
JSON
{
  "hex": "#339538",
  "rgb": {
    "r": 51,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 123.061,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59222,
    "c": 0.15941,
    "h": 144
  },
  "luminance": 0.22484
}

Semantic roles & 50–950 ramp

primary
#339538
secondary
#B76CB4
accent
#4FD2D9
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #339538

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

Preview Lab → · Contrast checker → · Palette generator →

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