#338625#338625

#338625 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.155 H 141.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#338625
RGBrgb(51, 134, 37)
HSLhsl(111, 57%, 34%)
HSVhsv(111, 72%, 53%)
CMYKcmyk(61.9%, 0%, 72.4%, 47.5%)
CIE-LABlab(49.36, -43.93, 42.71)
CIE-LCHlch(49.36, 61.27, 135.80°)
OKLaboklab(54.89% -0.1201 0.0973)
OKLCHoklch(54.89% 0.155 141)
XYZxyz(10.2238, 17.8866, 4.6636)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338625 #782586
analogous
#638625 #338625 #258647
triadic
#338625 #253386 #862533
tetradic
#338625 #256386 #782586 #864725
square
#338625 #256386 #782586 #864725
split-complementary
#338625 #472586 #862563
monochromatic
#0E260B #215618 #338625 #45B632 #67D055

Accessibility & contrast

On white

4.59
#338625 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#338625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338625
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338625#FFFFFF#000000##FFFFFF
##3386251.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A16
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#278273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338625;
/* rgb */ color: rgb(51, 134, 37);
/* oklch */ color: oklch(54.9% 0.155 141.0);
Tailwind
colors: {
  custom: {
    50: '#75aa65',
    500: '#338625',
    950: '#000000',
  },
}
SCSS
$custom: #338625;
$custom-light: #75aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#338625",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 111.34,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.15458,
    "h": 141
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#338625
secondary
#A652B4
accent
#48E0CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338625

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

Preview Lab → · Contrast checker → · Palette generator →

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