#338F37#338F37

#338F37 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.152 H 143.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#338F37
RGBrgb(51, 143, 55)
HSLhsl(123, 47%, 38%)
HSVhsv(123, 64%, 56%)
CMYKcmyk(64.3%, 0%, 61.5%, 43.9%)
CIE-LABlab(52.53, -45.44, 38.16)
CIE-LCHlch(52.53, 59.34, 139.97°)
OKLaboklab(57.57% -0.1232 0.0897)
OKLCHoklch(57.57% 0.152 143.9)
XYZxyz(11.8766, 20.6234, 6.9685)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F37 #8F338B
analogous
#5D8F33 #338F37 #338F65
triadic
#338F37 #37338F #8F3733
tetradic
#338F37 #335D8F #8F338B #8F6533
square
#338F37 #335D8F #8F338B #8F6533
split-complementary
#338F37 #65338F #8F335D
monochromatic
#133514 #236226 #338F37 #43BC48 #70CC74

Accessibility & contrast

On white

4.10
#338F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#338F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F37
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F37#FFFFFF#000000##000000
##338F371.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822E
Deuteranopia (green-blind)
#867A3E
Tritanopia (blue-blind)
#1F8B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338f37;
/* rgb */ color: rgb(51, 143, 55);
/* oklch */ color: oklch(57.6% 0.152 143.9);
Tailwind
colors: {
  custom: {
    50: '#76b171',
    500: '#338f37',
    950: '#000000',
  },
}
SCSS
$custom: #338f37;
$custom-light: #76b171;
$custom-dark: #000000;
JSON
{
  "hex": "#338f37",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 122.609,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.15242,
    "h": 143.9
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#338F37
secondary
#B46AB1
accent
#51D1D7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #338F37

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

Preview Lab → · Contrast checker → · Palette generator →

#338F37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva