#338926#338926

#338926 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.158 H 141.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338926
RGBrgb(51, 137, 38)
HSLhsl(112, 57%, 34%)
HSVhsv(112, 72%, 54%)
CMYKcmyk(62.8%, 0%, 72.3%, 46.3%)
CIE-LABlab(50.37, -44.97, 43.36)
CIE-LCHlch(50.37, 62.47, 136.04°)
OKLaboklab(55.73% -0.1229 0.0988)
OKLCHoklch(55.73% 0.158 141.2)
XYZxyz(10.6602, 18.7341, 4.8876)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338926 #7C2689
analogous
#658926 #338926 #26894B
triadic
#338926 #263389 #892633
tetradic
#338926 #266589 #7C2689 #894B26
square
#338926 #266589 #7C2689 #894B26
split-complementary
#338926 #4B2689 #892665
monochromatic
#0F290B #215919 #338926 #45B933 #68D159

Accessibility & contrast

On white

4.42
#338926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#338926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338926
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338926#FFFFFF#000000##000000
##3389261.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#258575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338926;
/* rgb */ color: rgb(51, 137, 38);
/* oklch */ color: oklch(55.7% 0.158 141.2);
Tailwind
colors: {
  custom: {
    50: '#76ac66',
    500: '#338926',
    950: '#000000',
  },
}
SCSS
$custom: #338926;
$custom-light: #76ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#338926",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 112.121,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.15766,
    "h": 141.2
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

primary
#338926
secondary
#A955B6
accent
#48E0CC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338926

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

Preview Lab → · Contrast checker → · Palette generator →

#338926 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva