#339738#339738

#339738 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.162 H 144.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#339738
RGBrgb(51, 151, 56)
HSLhsl(123, 50%, 40%)
HSVhsv(123, 66%, 59%)
CMYKcmyk(66.2%, 0%, 62.9%, 40.8%)
CIE-LABlab(55.20, -48.31, 40.73)
CIE-LCHlch(55.20, 63.19, 139.87°)
OKLaboklab(59.77% -0.131 0.0953)
OKLCHoklch(59.77% 0.162 144)
XYZxyz(13.1449, 23.1212, 7.5107)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339738 #973392
analogous
#609733 #339738 #33976A
triadic
#339738 #383397 #973833
tetradic
#339738 #336097 #973392 #976A33
square
#339738 #336097 #973392 #976A33
split-complementary
#339738 #6A3397 #973360
monochromatic
#143C16 #246927 #339738 #47C14D #74D079

Accessibility & contrast

On white

3.73
#339738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#339738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339738
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339738#FFFFFF#000000##000000
##3397381.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892D
Deuteranopia (green-blind)
#8E8140
Tritanopia (blue-blind)
#1B9383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #339738;
/* rgb */ color: rgb(51, 151, 56);
/* oklch */ color: oklch(59.8% 0.162 144.0);
Tailwind
colors: {
  custom: {
    50: '#78b672',
    500: '#339738',
    950: '#000000',
  },
}
SCSS
$custom: #339738;
$custom-light: #78b672;
$custom-dark: #000000;
JSON
{
  "hex": "#339738",
  "rgb": {
    "r": 51,
    "g": 151,
    "b": 56
  },
  "hsl": {
    "h": 123,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.16198,
    "h": 144
  },
  "luminance": 0.23123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339738

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

Preview Lab → · Contrast checker → · Palette generator →

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