#338E26#338E26

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

Color values

HEX#338E26
RGBrgb(51, 142, 38)
HSLhsl(113, 58%, 35%)
HSVhsv(113, 73%, 56%)
CMYKcmyk(64.1%, 0%, 73.2%, 44.3%)
CIE-LABlab(52.05, -46.83, 45.09)
CIE-LCHlch(52.05, 65.01, 136.08°)
OKLaboklab(57.12% -0.1279 0.1024)
OKLCHoklch(57.12% 0.164 141.3)
XYZxyz(11.3875, 20.1886, 5.1300)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E26 #81268E
analogous
#678E26 #338E26 #268E4D
triadic
#338E26 #26338E #8E2633
tetradic
#338E26 #26678E #81268E #8E4D26
square
#338E26 #26678E #81268E #8E4D26
split-complementary
#338E26 #4D268E #8E2667
monochromatic
#102D0C #225E19 #338E26 #44BE33 #6AD35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338E26#FFFFFF#000000##000000
##338E261.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)
#928115
Deuteranopia (green-blind)
#877930
Tritanopia (blue-blind)
#24897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338e26;
/* rgb */ color: rgb(51, 142, 38);
/* oklch */ color: oklch(57.1% 0.164 141.3);
Tailwind
colors: {
  custom: {
    50: '#77b067',
    500: '#338e26',
    950: '#000000',
  },
}
SCSS
$custom: #338e26;
$custom-light: #77b067;
$custom-dark: #000000;
JSON
{
  "hex": "#338e26",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 112.5,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.16385,
    "h": 141.3
  },
  "luminance": 0.2019
}

Semantic roles & 50–950 ramp

primary
#338E26
secondary
#AC58B8
accent
#47E1CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #338E26

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

Preview Lab → · Contrast checker → · Palette generator →

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