#338E27#338E27

#338E27 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.163 H 141.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#338E27
RGBrgb(51, 142, 39)
HSLhsl(113, 57%, 35%)
HSVhsv(113, 73%, 56%)
CMYKcmyk(64.1%, 0%, 72.5%, 44.3%)
CIE-LABlab(52.06, -46.74, 44.70)
CIE-LCHlch(52.06, 64.68, 136.28°)
OKLaboklab(57.13% -0.1276 0.1017)
OKLCHoklch(57.13% 0.163 141.4)
XYZxyz(11.4039, 20.1952, 5.2162)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E27 #82278E
analogous
#668E27 #338E27 #278E4F
triadic
#338E27 #27338E #8E2733
tetradic
#338E27 #27668E #82278E #8E4F27
square
#338E27 #27668E #82278E #8E4F27
split-complementary
#338E27 #4F278E #8E2766
monochromatic
#112E0D #225E1A #338E27 #44BE34 #6BD25D

Accessibility & contrast

On white

4.17
#338E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#338E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E27
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E27#FFFFFF#000000##000000
##338E271.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#877931
Tritanopia (blue-blind)
#238A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338e27;
/* rgb */ color: rgb(51, 142, 39);
/* oklch */ color: oklch(57.1% 0.163 141.4);
Tailwind
colors: {
  custom: {
    50: '#77b067',
    500: '#338e27',
    950: '#000000',
  },
}
SCSS
$custom: #338e27;
$custom-light: #77b067;
$custom-dark: #000000;
JSON
{
  "hex": "#338e27",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 113.01,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57125,
    "c": 0.1632,
    "h": 141.4
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#338E27
secondary
#AD59B8
accent
#48E0CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #338E27

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

Preview Lab → · Contrast checker → · Palette generator →

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