#338F35#338F35

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

Color values

HEX#338F35
RGBrgb(51, 143, 53)
HSLhsl(121, 47%, 38%)
HSVhsv(121, 64%, 56%)
CMYKcmyk(64.3%, 0%, 62.9%, 43.9%)
CIE-LABlab(52.51, -45.68, 39.09)
CIE-LCHlch(52.51, 60.12, 139.45°)
OKLaboklab(57.54% -0.124 0.0915)
OKLCHoklch(57.54% 0.154 143.6)
XYZxyz(11.8296, 20.6046, 6.7211)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F35 #8F338D
analogous
#5F8F33 #338F35 #338F63
triadic
#338F35 #35338F #8F3533
tetradic
#338F35 #335F8F #8F338D #8F6333
square
#338F35 #335F8F #8F338D #8F6333
split-complementary
#338F35 #63338F #8F335F
monochromatic
#133514 #236224 #338F35 #43BC46 #70CC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338F35#FFFFFF#000000##000000
##338F351.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)
#92822B
Deuteranopia (green-blind)
#877A3C
Tritanopia (blue-blind)
#208B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338f35;
/* rgb */ color: rgb(51, 143, 53);
/* oklch */ color: oklch(57.5% 0.154 143.6);
Tailwind
colors: {
  custom: {
    50: '#76b170',
    500: '#338f35',
    950: '#000000',
  },
}
SCSS
$custom: #338f35;
$custom-light: #76b170;
$custom-dark: #000000;
JSON
{
  "hex": "#338f35",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 53
  },
  "hsl": {
    "h": 121.304,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57542,
    "c": 0.15407,
    "h": 143.6
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#338F35
secondary
#B46AB2
accent
#51D4D7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #338F35

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

Preview Lab → · Contrast checker → · Palette generator →

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