#338624#338624

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

Color values

HEX#338624
RGBrgb(51, 134, 36)
HSLhsl(111, 58%, 33%)
HSVhsv(111, 73%, 53%)
CMYKcmyk(61.9%, 0%, 73.1%, 47.5%)
CIE-LABlab(49.35, -44.01, 43.11)
CIE-LCHlch(49.35, 61.61, 135.60°)
OKLaboklab(54.88% -0.1204 0.098)
OKLCHoklch(54.88% 0.155 140.9)
XYZxyz(10.2083, 17.8804, 4.5820)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338624 #772486
analogous
#648624 #338624 #248646
triadic
#338624 #243386 #862433
tetradic
#338624 #246486 #772486 #864624
square
#338624 #246486 #772486 #864624
split-complementary
#338624 #462486 #862464
monochromatic
#0E260A #215617 #338624 #45B631 #67D153

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338624#FFFFFF#000000##FFFFFF
##3386241.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)
#8A7A14
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#278273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338624;
/* rgb */ color: rgb(51, 134, 36);
/* oklch */ color: oklch(54.9% 0.155 140.9);
Tailwind
colors: {
  custom: {
    50: '#75aa65',
    500: '#338624',
    950: '#000000',
  },
}
SCSS
$custom: #338624;
$custom-light: #75aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#338624",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 110.816,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.15525,
    "h": 140.9
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#338624
secondary
#A651B5
accent
#47E1C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338624

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

Preview Lab → · Contrast checker → · Palette generator →

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