#338824#338824

#338824 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.158 H 140.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338824
RGBrgb(51, 136, 36)
HSLhsl(111, 58%, 34%)
HSVhsv(111, 74%, 53%)
CMYKcmyk(62.5%, 0%, 73.5%, 46.7%)
CIE-LABlab(50.02, -44.77, 43.80)
CIE-LCHlch(50.02, 62.63, 135.63°)
OKLaboklab(55.44% -0.1225 0.0994)
OKLCHoklch(55.44% 0.158 140.9)
XYZxyz(10.4873, 18.4385, 4.6750)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338824 #792488
analogous
#658824 #338824 #248847
triadic
#338824 #243388 #882433
tetradic
#338824 #246588 #792488 #884724
square
#338824 #246588 #792488 #884724
split-complementary
#338824 #472488 #882465
monochromatic
#0F270A #215817 #338824 #45B831 #67D255

Accessibility & contrast

On white

4.48
#338824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#338824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338824
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338824#FFFFFF#000000##000000
##3388241.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B13
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#268474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338824;
/* rgb */ color: rgb(51, 136, 36);
/* oklch */ color: oklch(55.4% 0.158 140.9);
Tailwind
colors: {
  custom: {
    50: '#76ab65',
    500: '#338824',
    950: '#000000',
  },
}
SCSS
$custom: #338824;
$custom-light: #76ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#338824",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 111,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.15774,
    "h": 140.9
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#338824
secondary
#A752B6
accent
#46E1CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338824

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

Preview Lab → · Contrast checker → · Palette generator →

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