#338739#338739

#338739 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.140 H 144.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#338739
RGBrgb(51, 135, 57)
HSLhsl(124, 45%, 36%)
HSVhsv(124, 62%, 53%)
CMYKcmyk(62.2%, 0%, 57.8%, 47.1%)
CIE-LABlab(49.89, -42.08, 34.10)
CIE-LCHlch(49.89, 54.16, 140.98°)
OKLaboklab(55.39% -0.114 0.0811)
OKLCHoklch(55.39% 0.14 144.6)
XYZxyz(10.7671, 18.3261, 6.8400)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338739 #873381
analogous
#578733 #338739 #338763
triadic
#338739 #393387 #873933
tetradic
#338739 #335787 #873381 #876333
square
#338739 #335787 #873381 #876333
split-complementary
#338739 #633387 #873357
monochromatic
#112E13 #225B26 #338739 #44B34C #6DC873

Accessibility & contrast

On white

4.50
#338739 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#338739 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338739
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338739#FFFFFF#000000##000000
##3387391.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B31
Deuteranopia (green-blind)
#7F743F
Tritanopia (blue-blind)
#228476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338739;
/* rgb */ color: rgb(51, 135, 57);
/* oklch */ color: oklch(55.4% 0.140 144.6);
Tailwind
colors: {
  custom: {
    50: '#74ab72',
    500: '#338739',
    950: '#000000',
  },
}
SCSS
$custom: #338739;
$custom-light: #74ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#338739",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 57
  },
  "hsl": {
    "h": 124.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5539,
    "c": 0.13991,
    "h": 144.6
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#338739
secondary
#B066AA
accent
#53CCD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338739

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

Preview Lab → · Contrast checker → · Palette generator →

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