#339838#339838

#339838 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.163 H 143.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#339838
RGBrgb(51, 152, 56)
HSLhsl(123, 50%, 40%)
HSVhsv(123, 66%, 60%)
CMYKcmyk(66.4%, 0%, 63.2%, 40.4%)
CIE-LABlab(55.53, -48.68, 41.10)
CIE-LCHlch(55.53, 63.71, 139.82°)
OKLaboklab(60.04% -0.132 0.0961)
OKLCHoklch(60.04% 0.163 143.9)
XYZxyz(13.3065, 23.4444, 7.5646)
Luminance0.2345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339838 #983393
analogous
#619833 #339838 #33986A
triadic
#339838 #383398 #983833
tetradic
#339838 #336198 #983393 #986A33
square
#339838 #336198 #983393 #986A33
split-complementary
#339838 #6A3398 #983361
monochromatic
#143C16 #246A27 #339838 #47C14D #75D179

Accessibility & contrast

On white

3.69
#339838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#339838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339838
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339838#FFFFFF#000000##000000
##3398381.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2D
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#1A9484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339838;
/* rgb */ color: rgb(51, 152, 56);
/* oklch */ color: oklch(60.0% 0.163 143.9);
Tailwind
colors: {
  custom: {
    50: '#78b772',
    500: '#339838',
    950: '#000000',
  },
}
SCSS
$custom: #339838;
$custom-light: #78b772;
$custom-dark: #000000;
JSON
{
  "hex": "#339838",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 122.97,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.16325,
    "h": 143.9
  },
  "luminance": 0.23446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339838

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

Preview Lab → · Contrast checker → · Palette generator →

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