#338925#338925

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

Color values

HEX#338925
RGBrgb(51, 137, 37)
HSLhsl(112, 57%, 34%)
HSVhsv(112, 73%, 54%)
CMYKcmyk(62.8%, 0%, 73%, 46.3%)
CIE-LABlab(50.37, -45.06, 43.76)
CIE-LCHlch(50.37, 62.81, 135.84°)
OKLaboklab(55.72% -0.1232 0.0995)
OKLCHoklch(55.72% 0.158 141.1)
XYZxyz(10.6443, 18.7277, 4.8038)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338925 #7B2589
analogous
#658925 #338925 #258949
triadic
#338925 #253389 #892533
tetradic
#338925 #256589 #7B2589 #894925
square
#338925 #256589 #7B2589 #894925
split-complementary
#338925 #492589 #892565
monochromatic
#0F290B #215918 #338925 #45B932 #68D257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338925#FFFFFF#000000##000000
##3389251.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)
#8D7C15
Deuteranopia (green-blind)
#82752F
Tritanopia (blue-blind)
#268575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338925;
/* rgb */ color: rgb(51, 137, 37);
/* oklch */ color: oklch(55.7% 0.158 141.1);
Tailwind
colors: {
  custom: {
    50: '#76ac66',
    500: '#338925',
    950: '#000000',
  },
}
SCSS
$custom: #338925;
$custom-light: #76ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#338925",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 111.6,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55722,
    "c": 0.15833,
    "h": 141.1
  },
  "luminance": 0.18729
}

Semantic roles & 50–950 ramp

primary
#338925
secondary
#A854B6
accent
#47E1CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338925

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

Preview Lab → · Contrast checker → · Palette generator →

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