#339938#339938

#339938 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.165 H 143.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#339938
RGBrgb(51, 153, 56)
HSLhsl(123, 50%, 40%)
HSVhsv(123, 67%, 60%)
CMYKcmyk(66.7%, 0%, 63.4%, 40%)
CIE-LABlab(55.86, -49.05, 41.48)
CIE-LCHlch(55.86, 64.23, 139.78°)
OKLaboklab(60.32% -0.133 0.0969)
OKLCHoklch(60.32% 0.165 143.9)
XYZxyz(13.4695, 23.7704, 7.6189)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339938 #993394
analogous
#619933 #339938 #33996B
triadic
#339938 #383399 #993833
tetradic
#339938 #336199 #993394 #996B33
square
#339938 #336199 #993394 #996B33
split-complementary
#339938 #6B3399 #993361
monochromatic
#143D16 #246B27 #339938 #47C24D #75D17A

Accessibility & contrast

On white

3.65
#339938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#339938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339938
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339938#FFFFFF#000000##000000
##3399381.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2D
Deuteranopia (green-blind)
#908340
Tritanopia (blue-blind)
#1A9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339938;
/* rgb */ color: rgb(51, 153, 56);
/* oklch */ color: oklch(60.3% 0.165 143.9);
Tailwind
colors: {
  custom: {
    50: '#78b872',
    500: '#339938',
    950: '#000000',
  },
}
SCSS
$custom: #339938;
$custom-light: #78b872;
$custom-dark: #000000;
JSON
{
  "hex": "#339938",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 122.941,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.16452,
    "h": 143.9
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#339938
secondary
#B96EB6
accent
#4ED3DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #339938

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

Preview Lab → · Contrast checker → · Palette generator →

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