#338E36#338E36

#338E36 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.152 H 143.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#338E36
RGBrgb(51, 142, 54)
HSLhsl(122, 47%, 38%)
HSVhsv(122, 64%, 56%)
CMYKcmyk(64.1%, 0%, 62%, 44.3%)
CIE-LABlab(52.19, -45.18, 38.25)
CIE-LCHlch(52.19, 59.19, 139.75°)
OKLaboklab(57.28% -0.1226 0.0898)
OKLCHoklch(57.28% 0.152 143.8)
XYZxyz(11.7034, 20.3150, 6.7937)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E36 #8E338B
analogous
#5D8E33 #338E36 #338E63
triadic
#338E36 #36338E #8E3633
tetradic
#338E36 #335D8E #8E338B #8E6333
square
#338E36 #335D8E #8E338B #8E6333
split-complementary
#338E36 #63338E #8E335D
monochromatic
#133414 #236125 #338E36 #43BB47 #70CC73

Accessibility & contrast

On white

4.15
#338E36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#338E36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E36
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E36#FFFFFF#000000##000000
##338E361.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812C
Deuteranopia (green-blind)
#867A3D
Tritanopia (blue-blind)
#208A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338e36;
/* rgb */ color: rgb(51, 142, 54);
/* oklch */ color: oklch(57.3% 0.152 143.8);
Tailwind
colors: {
  custom: {
    50: '#76b070',
    500: '#338e36',
    950: '#000000',
  },
}
SCSS
$custom: #338e36;
$custom-light: #76b070;
$custom-dark: #000000;
JSON
{
  "hex": "#338e36",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 54
  },
  "hsl": {
    "h": 121.978,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.15194,
    "h": 143.8
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#338E36
secondary
#B469B1
accent
#51D2D7
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338E36

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

Preview Lab → · Contrast checker → · Palette generator →

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