#338929#338929

#338929 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.156 H 141.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338929
RGBrgb(51, 137, 41)
HSLhsl(114, 54%, 35%)
HSVhsv(114, 70%, 54%)
CMYKcmyk(62.8%, 0%, 70.1%, 46.3%)
CIE-LABlab(50.40, -44.69, 42.14)
CIE-LCHlch(50.40, 61.43, 136.69°)
OKLaboklab(55.76% -0.122 0.0966)
OKLCHoklch(55.76% 0.156 141.6)
XYZxyz(10.7106, 18.7542, 5.1529)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338929 #7F2989
analogous
#638929 #338929 #29894F
triadic
#338929 #293389 #892933
tetradic
#338929 #296389 #7F2989 #894F29
square
#338929 #296389 #7F2989 #894F29
split-complementary
#338929 #4F2989 #892963
monochromatic
#102B0D #215A1B #338929 #45B837 #69CF5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338929#FFFFFF#000000##000000
##3389291.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)
#8C7C1B
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#258576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338929;
/* rgb */ color: rgb(51, 137, 41);
/* oklch */ color: oklch(55.8% 0.156 141.6);
Tailwind
colors: {
  custom: {
    50: '#76ac68',
    500: '#338929',
    950: '#000000',
  },
}
SCSS
$custom: #338929;
$custom-light: #76ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#338929",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 113.75,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.15559,
    "h": 141.6
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#338929
secondary
#AB5AB4
accent
#4ADDCE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338929

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

Preview Lab → · Contrast checker → · Palette generator →

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